Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Refactor code and fix a couple of …
Browse files Browse the repository at this point in the history
…missing DTLSv1.3 checks.
  • Loading branch information
fwh-dc committed May 17, 2024
1 parent d7a44f4 commit 8fb2c4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ssl/ssl_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,9 @@ int SSL_is_dtls(const SSL *s)
{
SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);

if (s == NULL)
return 0;

#ifndef OPENSSL_NO_QUIC
if (s->type == SSL_TYPE_QUIC_CONNECTION || s->type == SSL_TYPE_QUIC_XSO)
return 0;
Expand Down

0 comments on commit 8fb2c4e

Please sign in to comment.