-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make version check in s_server DTLS aware #16709
Conversation
CLA: trivial Resolves #16707
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good for all branches. I am also OK with CLA: trivial.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Fine for all branched and agreed trivial.
@mattcaswell any thoughts?
@paulidale Would you please formally approve? |
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
@paulidale ping |
@@ -131,7 +131,7 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity, | |||
if (s_debug) | |||
BIO_printf(bio_s_out, "psk_server_cb\n"); | |||
|
|||
if (SSL_version(ssl) >= TLS1_3_VERSION) { | |||
if (SSL_version(ssl) >= TLS1_3_VERSION && SSL_version(ssl) < DTLS1_2_VERSION) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should instead be checking SSL_is_dtls()
Resolves #16707