Ticket #61131: patch-libressl.diff

File patch-libressl.diff, 467 bytes (added by bK4gYuRo, 4 years ago)
  • src/openvpn/ssl_openssl.c

    old new  
    19041904        crypto_msg(M_FATAL, "Cannot create SSL object");
    19051905    }
    19061906
    1907 #if (OPENSSL_VERSION_NUMBER < 0x1010000fL)
     1907#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || LIBRESSL_VERSION_NUMBER)
    19081908    STACK_OF(SSL_CIPHER) *sk = SSL_get_ciphers(ssl);
    19091909#else
    19101910    STACK_OF(SSL_CIPHER) *sk = SSL_get1_supported_ciphers(ssl);