Fix OpenSSL version check.

This commit is contained in:
levlam 2023-02-04 11:00:04 +03:00
parent 9bf492dbc0
commit 218baffeca

View File

@ -89,7 +89,7 @@ long strm_ctrl(BIO *b, int cmd, long num, void *ptr) {
case BIO_CTRL_PUSH: case BIO_CTRL_PUSH:
case BIO_CTRL_POP: case BIO_CTRL_POP:
return 0; return 0;
#if OPENSSL_VERSION_NUMBER >= 0x30000000L #if OPENSSL_VERSION_NUMBER >= 0x30000000L && !defined(LIBRESSL_VERSION_NUMBER)
case BIO_CTRL_GET_KTLS_SEND: case BIO_CTRL_GET_KTLS_SEND:
case BIO_CTRL_GET_KTLS_RECV: case BIO_CTRL_GET_KTLS_RECV:
return 0; return 0;