Lines 761-767
Link Here
|
761 |
SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS); |
761 |
SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS); |
762 |
#endif |
762 |
#endif |
763 |
|
763 |
|
764 |
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL |
764 |
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER) |
765 |
/* For OpenSSL >=1.1.1, disable auto-retry mode so it's possible |
765 |
/* For OpenSSL >=1.1.1, disable auto-retry mode so it's possible |
766 |
* to consume handshake records without blocking for app-data. |
766 |
* to consume handshake records without blocking for app-data. |
767 |
* https://github.com/openssl/openssl/issues/7178 */ |
767 |
* https://github.com/openssl/openssl/issues/7178 */ |
Lines 1492-1498
Link Here
|
1492 |
X509_STORE_CTX *sctx; |
1492 |
X509_STORE_CTX *sctx; |
1493 |
X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx); |
1493 |
X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx); |
1494 |
|
1494 |
|
1495 |
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL |
1495 |
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER) |
1496 |
/* For OpenSSL >=1.1.1, turn on client cert support which is |
1496 |
/* For OpenSSL >=1.1.1, turn on client cert support which is |
1497 |
* otherwise turned off by default (by design). |
1497 |
* otherwise turned off by default (by design). |
1498 |
* https://github.com/openssl/openssl/issues/6933 */ |
1498 |
* https://github.com/openssl/openssl/issues/6933 */ |