diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-20 12:57:47 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-20 12:57:47 -0700 |
| commit | e9dd113f27430e56d847fbca8b4f38bfd8810db9 (patch) | |
| tree | de8d1e7c80367c412e23fc566a3dec101041cb88 | |
| parent | 0a8d794c8724d4a127209677b6231761a5dcde78 (diff) | |
| download | nng-e9dd113f27430e56d847fbca8b4f38bfd8810db9.tar.gz nng-e9dd113f27430e56d847fbca8b4f38bfd8810db9.tar.bz2 nng-e9dd113f27430e56d847fbca8b4f38bfd8810db9.zip | |
Suppress KTLS requests, we do not support it.
| -rw-r--r-- | src/supplemental/tls/openssl/openssl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/supplemental/tls/openssl/openssl.c b/src/supplemental/tls/openssl/openssl.c index df626ce9..3a32946a 100644 --- a/src/supplemental/tls/openssl/openssl.c +++ b/src/supplemental/tls/openssl/openssl.c @@ -161,6 +161,11 @@ ossl_bio_ctrl(BIO *bio, int cmd, long num, void *ptr) case BIO_CTRL_FLUSH: case BIO_CTRL_POP: return (1); + case BIO_CTRL_GET_KTLS_SEND: + case BIO_CTRL_GET_KTLS_RECV: + // not supported + return (0); + default: nng_log_err( "NNG-TLS-BIO", "Unsupported BIO CMD %d num %ld", cmd, num); |
