Welcome! Log In Create A New Profile

Advanced

[nginx] SSL: compatibility with OpenSSL master branch.

Sergey Kandaurov
April 18, 2017 09:52AM
details: http://hg.nginx.org/nginx/rev/3518287d995e
branches:
changeset: 6983:3518287d995e
user: Sergey Kandaurov <pluknet@nginx.com>
date: Tue Apr 18 16:08:46 2017 +0300
description:
SSL: compatibility with OpenSSL master branch.

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.

diffstat:

src/event/ngx_event_openssl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ac9b1df5b246 -r 3518287d995e src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c Tue Apr 18 16:08:44 2017 +0300
+++ b/src/event/ngx_event_openssl.c Tue Apr 18 16:08:46 2017 +0300
@@ -1090,7 +1090,7 @@ ngx_ssl_ecdh_curve(ngx_conf_t *cf, ngx_s
* 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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] SSL: compatibility with OpenSSL master branch.

Sergey Kandaurov 342 April 18, 2017 09:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready