BIO_set_conn_hostname & BIO_get_ssl not found in libssl-1_1.dll

Viktor Dukhovni openssl-users at dukhovni.org
Wed Apr 8 01:02:53 UTC 2020


On Wed, Apr 08, 2020 at 11:25:28AM +1200, Martin Searancke wrote:

> The C++ examples I am basing this on call "BIO_set_conn_hostname" and
> "BIO_get_ssl" but these functions do not appear to be in "libssl-1_1.dll".

Both of these are C macros:

    /usr/include/openssl/bio.h:#  define BIO_set_conn_hostname(b,name) BIO_ctrl(...)
    /usr/include/openssl/bio.h:# define BIO_get_ssl(b,sslp) BIO_ctrl(...)

> The OpenSSL documentation suggests that these functions should be in
> version 1.1 but I have interrogated the DLL and they are not there - where
> should I find them?

In the <openssl/bio.h> header file.

-- 
    Viktor.


More information about the openssl-users mailing list