From c67bda99ab6b49f314c2a10bf382aaf63b1e97ee Mon Sep 17 00:00:00 2001 From: Joseph Birr-Pixton Date: Wed, 10 Apr 2024 09:59:56 +0100 Subject: [PATCH] TODO: bodge `SSL_set_min_proto_version` --- rustls-libssl/src/entry.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rustls-libssl/src/entry.rs b/rustls-libssl/src/entry.rs index 355f9d9..7f5a9f0 100644 --- a/rustls-libssl/src/entry.rs +++ b/rustls-libssl/src/entry.rs @@ -218,6 +218,10 @@ entry! { log::warn!("unimplemented SSL_CTX_set_msg_callback_arg()"); 0 } + Ok(SslCtrl::SetMinProtoVersion) => { + log::warn!("unimplemented SSL_CTX_set_min_proto_version()"); + 1 + } Ok(SslCtrl::SetMaxProtoVersion) => { log::warn!("unimplemented SSL_CTX_set_max_proto_version()"); 1 @@ -861,6 +865,10 @@ entry! { log::warn!("unimplemented SSL_set_msg_callback_arg()"); 0 } + Ok(SslCtrl::SetMinProtoVersion) => { + log::warn!("unimplemented SSL_set_min_proto_version()"); + 1 + } Ok(SslCtrl::SetMaxProtoVersion) => { log::warn!("unimplemented SSL_set_max_proto_version()"); 1 @@ -1807,6 +1815,7 @@ num_enum! { SetTlsExtServerNameArg = 54, SetTlsExtHostname = 55, SetChain = 88, + SetMinProtoVersion = 123, SetMaxProtoVersion = 124, } }