Skip to content

Commit

Permalink
fixup! Copy min/max_proto_version from SSL_CTX to SSL only for the sa…
Browse files Browse the repository at this point in the history
…me method types
  • Loading branch information
t8m committed Apr 28, 2023
1 parent c29dca9 commit 2baaf83
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ssl/ssl_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2864,11 +2864,7 @@ long SSL_ctrl(SSL *s, int cmd, long larg, void *parg)
long l;
SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);

/*
* TODO(QUIC): Special handling for some ctrls will be needed
* For example SSL_CTRL_SET/GET_MIN/MAX_PROTO_VERSION should
* be handled within the QUIC connection, not the inner TLS.
*/
/* TODO(QUIC): Special handling for some ctrls will be needed */
if (sc == NULL)
return 0;

Expand Down

0 comments on commit 2baaf83

Please sign in to comment.