File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
docker/debian-nginx-ssl-ja3 Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ stream {
6060
6161The master version OpenSSL is required because this module fetches the
6262extensions types declared at SSL/TLS Client Hello by using the new early
63- callback [ SSL_CTX_set_early_cb ] ( https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_early_cb .html ) .
63+ callback [ SSL_CTX_set_client_hello_cb ] ( https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_client_hello_cb .html ) .
6464
6565I was unable to find a way to get these values with the current versions of
6666nginx and OpenSSL.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
2727CORE_LIBS="$CORE_LIBS"
2828
2929#
30- # OpenSSL 1.1.1 with SSL_CTX_set_early_cb
30+ # OpenSSL 1.1.1 with SSL_CTX_set_client_hello_cb
3131#
3232ngx_feature="SSL_CTX_set_client_hello_cb()"
3333ngx_feature_name="NGX_HAVE_OPENSSL_SSL_CLIENT_HELLO_CB"
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ diff -r 2e8de3d81783 src/event/ngx_event_openssl.c
6767 ngx_ssl_clear_error(c->log);
6868
6969+ #if OPENSSL_VERSION_NUMBER >= 0x10101000L
70- + SSL_CTX_set_early_cb (c->ssl->session_ctx, ngx_SSL_early_cb_fn, c);
70+ + SSL_CTX_set_client_hello_cb (c->ssl->session_ctx, ngx_SSL_early_cb_fn, c);
7171+ #endif
7272+
7373 n = SSL_do_handshake(c->ssl->connection);
You can’t perform that action at this time.
0 commit comments