SSL_set_tlsext_host_name not found in libssl-3-x64.dll. Confirmed by Dependency Walker #24183
-
I believe that I need to set the SNI. However, SSL_set_tlsext_host_name is not found in libssl-3-x64.dll. Have double checked by Dependency Walker. The documentation says that it should be present! Running OpenSSL on Win7 with tls1.2 and new ciphers. My code can access other sites with tls1.2 and new ciphers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
openssl/include/openssl/tls1.h Lines 289 to 291 in e1fd043 As long as you include the |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for that clarification! Maybe a good idea to mark in the documentation which functions are macros? Cheers! |
Beta Was this translation helpful? Give feedback.
SSL_set_tlsext_host_name
is a macro so you would not expect to find it in the dll. It's defined here:openssl/include/openssl/tls1.h
Lines 289 to 291 in e1fd043
As long as you include the
openssl/ssl.h
header file (which itself includes theopenssl/tls1.h
file above) then you should be able to use it. The underlying function called in the dll isSSL_ctrl