Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in setEphemeralKey #172

Open
daurnimator opened this issue Jun 16, 2019 · 1 comment
Open

Segfault in setEphemeralKey #172

daurnimator opened this issue Jun 16, 2019 · 1 comment

Comments

@daurnimator
Copy link
Collaborator

Reported in daurnimator/lua-http#153

local openssl_ctx = require "openssl.ssl.context"
local openssl_pkey = require "openssl.pkey"

local ctx = openssl_ctx.new("TLS", false)
ctx:setEphemeralKey(openssl_pkey.new{ type = "EC", curve = "prime256v1" })
@daurnimator
Copy link
Collaborator Author

daurnimator commented Jun 16, 2019

Wait this is really weird... I re-compiled luaossl and the issue went away.

When I did have the issue, it was EVP_PKEY_base_id failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant