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
Ignore -named_curve auto value to improve backwards compatibility #3518
Conversation
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.
great, thanks. minor nit noted. and also please add a comment to CHANGES.
ssl/ssl_conf.c
Outdated
/* Ignore values supported by 1.0.2 for the automatic selection */ | ||
if ((cctx->flags & SSL_CONF_FLAG_FILE) && !strcasecmp(value, "+automatic")) | ||
return 1; | ||
else if ((cctx->flags & SSL_CONF_FLAG_CMDLINE) && !strcmp(value, "auto")) |
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.
no else after return :)
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.
oops, sorry, and explicitly test against zero, don't use !
Updated patch |
Ping @richsalz |
fnx for the nudge. |
Pushed. Thanks. |
Fixes openssl#3490 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl#3518) (cherry picked from commit 1c7aa0d)
Fixes #3490
Checklist