Fix OpenSSL version check.
This commit is contained in:
parent
9bf492dbc0
commit
218baffeca
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user