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
Make default_method mostly compile-time #3146
Conversation
ping @mattcaswell this is the 1.1.0 version of #2244 (which you had approved, hence the ping) |
I'm slightly confused by your comment above "It keeps the RSA_null stuff" - as it doesn't seem to, i.e. the actual code for RSA_null_method() is retained, but it will never be used. Previously building with RSA_NULL caused RSA_null_method() to be used. |
I meant it keeps the function. |
Won't this alter behaviour on an existing/stable branch? E.g. could a wrapper script get borked by the change in semantics? |
I don't believe so. The old code; we are narrowing the window of opportunity for borking. There is no change in semantics, rather than being lazy-init, it's now compile-time init. |
OK, so this is still the "default ENGINE == NULL" case? If so, I think it makes sense. |
yes it is. |
Document thread-safety issues Cherry-pick from 076fc55 but keeps the RSA_null method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, especially now that the error codes aren't clobbered. :-)
:) thanks. |
Document thread-safety issues Cherry-pick from 076fc55 but keeps the RSA_null method. Reviewed-by: Geoff Thorpe <geoff@openssl.org> (Merged from openssl#3146)
This is #2244 picked to 1.1.0
It keeps the RSA_null stuff.