Skip to content

Commit

Permalink
TODO: bodge SSL_set_min_proto_version
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Apr 11, 2024
1 parent 7b00ba6 commit c67bda9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rustls-libssl/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1807,6 +1815,7 @@ num_enum! {
SetTlsExtServerNameArg = 54,
SetTlsExtHostname = 55,
SetChain = 88,
SetMinProtoVersion = 123,
SetMaxProtoVersion = 124,
}
}
Expand Down

0 comments on commit c67bda9

Please sign in to comment.