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 30c2958 commit 4c07805
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 @@ -849,6 +853,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 @@ -1783,6 +1791,7 @@ num_enum! {
SetTlsExtServerNameArg = 54,
SetTlsExtHostname = 55,
SetChain = 88,
SetMinProtoVersion = 123,
SetMaxProtoVersion = 124,
}
}
Expand Down

0 comments on commit 4c07805

Please sign in to comment.