From 48f574076c9ef0104ed6e73ef02e30de46bd7b74 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 16 Dec 2017 00:13:27 +0900 Subject: [PATCH] nghttpx: Update doc --- src/shrpx_tls.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_tls.cc b/src/shrpx_tls.cc index d69a67ed..ae8a8511 100644 --- a/src/shrpx_tls.cc +++ b/src/shrpx_tls.cc @@ -149,6 +149,8 @@ int ssl_pem_passwd_cb(char *buf, int size, int rwflag, void *user_data) { } // namespace namespace { +// *al is set to SSL_AD_UNRECOGNIZED_NAME by openssl, so we don't have +// to set it explicitly. int servername_callback(SSL *ssl, int *al, void *arg) { auto conn = static_cast(SSL_get_app_data(ssl)); auto handler = static_cast(conn->data);