On 2017/11/04 17:04, Jeremy Evans wrote:
> +
> +Index: Common/telnet.c
> +--- Common/telnet.c.orig
> ++++ Common/telnet.c
> +@@ -3688,7 +3688,7 @@ ssl_base_init(char *cl_hostname, bool *pending)
> +     ssl_pending = pending;
> +     }
> + 
> +-#if !defined(_WIN32) && OPENSSL_VERSION_NUMBER < 0x10100000L /*[*/
> ++#if !defined(_WIN32)
> +     SSL_load_error_strings();
> +     SSL_library_init();

Can you change to a LIBRESSL_VERSION check here please? i.e.

#if !defined(_WIN32) && OPENSSL_VERSION_NUMBER < 0x10100000L || 
defined(LIBRESSL_VERSION) /*[*/

> + try_again:
> +     ssl_passwd_gui_reset();
> +-#if !defined(_WIN32) && OPENSSL_VERSION_NUMBER < 0x10100000L /*[*/
> ++#if !defined(_WIN32)
> +     ssl_ctx = SSL_CTX_new(SSLv23_method());
> + #else /*][*/
> +     ssl_ctx = SSL_CTX_new(TLS_method());

And please skip this chunk, we do have TLS_method().

Reply via email to