Skip to content

SSL_set_tlsext_host_name not found in libssl-3-x64.dll. Confirmed by Dependency Walker #24183

Closed Answered by mattcaswell
OneBobone asked this question in Q&A
Discussion options

You must be logged in to vote

SSL_set_tlsext_host_name is a macro so you would not expect to find it in the dll. It's defined here:

# define SSL_set_tlsext_host_name(s,name) \
SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,\
(void *)name)

As long as you include the openssl/ssl.h header file (which itself includes the openssl/tls1.h file above) then you should be able to use it. The underlying function called in the dll is SSL_ctrl

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mattcaswell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #24182 on April 18, 2024 07:54.