We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b5c8e commit 058014bCopy full SHA for 058014b
1 file changed
src/ssl.c
@@ -21432,6 +21432,7 @@ int wolfSSL_set_tlsext_host_name(WOLFSSL* ssl, const char* host_name)
21432
return ret;
21433
}
21434
21435
+#ifndef NO_WOLFSSL_SERVER
21436
/* May be called by server to get the requested accepted name and by the client
21437
* to get the requested name. */
21438
const char * wolfSSL_get_servername(WOLFSSL* ssl, byte type)
@@ -21443,6 +21444,8 @@ const char * wolfSSL_get_servername(WOLFSSL* ssl, byte type)
21443
21444
!wolfSSL_is_server(ssl));
21445
return (const char *)serverName;
21446
21447
+#endif
21448
+
21449
#endif /* HAVE_SNI */
21450
21451
WOLFSSL_CTX* wolfSSL_set_SSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx)
0 commit comments