Skip to content

Commit

Permalink
SSL: compatibility with OpenSSL master branch.
Browse files Browse the repository at this point in the history
The SSL_CTRL_SET_CURVES_LIST macro is removed in the OpenSSL master branch.
SSL_CTX_set1_curves_list is preserved as compatibility with previous versions.
  • Loading branch information
pluknet committed Apr 18, 2017
1 parent 36be793 commit e8c579a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/ngx_event_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *name)
* maximum interoperability.
*/

#ifdef SSL_CTRL_SET_CURVES_LIST
#if (defined SSL_CTX_set1_curves_list || defined SSL_CTRL_SET_CURVES_LIST)

/*
* OpenSSL 1.0.2+ allows configuring a curve list instead of a single
Expand Down

0 comments on commit e8c579a

Please sign in to comment.