Skip to content

Commit

Permalink
Remove compile guards for dtls1.3 method implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh-dc committed Feb 14, 2024
1 parent 83afef0 commit a5614b4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ssl/methods.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,10 @@ IMPLEMENT_dtls1_meth_func(DTLS1_2_VERSION, 0, SSL_OP_NO_DTLSv1_2,
ossl_statem_accept,
ossl_statem_connect, DTLSv1_2_enc_data)
#endif
#ifndef OPENSSL_NO_DTLS1_3_METHOD
IMPLEMENT_dtls1_meth_func(DTLS1_3_VERSION, 0, SSL_OP_NO_DTLSv1_3,
dtlsv1_3_method,
ossl_statem_accept,
ossl_statem_connect, DTLSv1_3_enc_data)
#endif
IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION, 0, 0,
DTLS_method,
ossl_statem_accept,
Expand All @@ -151,12 +149,10 @@ IMPLEMENT_dtls1_meth_func(DTLS1_2_VERSION, 0, SSL_OP_NO_DTLSv1_2,
ossl_statem_accept,
ssl_undefined_function, DTLSv1_2_enc_data)
#endif
#ifndef OPENSSL_NO_DTLS1_3_METHOD
IMPLEMENT_dtls1_meth_func(DTLS1_3_VERSION, 0, SSL_OP_NO_DTLSv1_3,
dtlsv1_3_server_method,
ossl_statem_accept,
ssl_undefined_function, DTLSv1_3_enc_data)
#endif
IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION, 0, 0,
DTLS_server_method,
ossl_statem_accept,
Expand All @@ -181,12 +177,10 @@ IMPLEMENT_dtls1_meth_func(DTLS1_2_VERSION, 0, SSL_OP_NO_DTLSv1_2,
ssl_undefined_function,
ossl_statem_connect, DTLSv1_2_enc_data)
#endif
#ifndef OPENSSL_NO_DTLS1_3_METHOD
IMPLEMENT_dtls1_meth_func(DTLS1_3_VERSION, 0, SSL_OP_NO_DTLSv1_3,
dtlsv1_3_client_method,
ssl_undefined_function,
ossl_statem_connect, DTLSv1_3_enc_data)
#endif
IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION, 0, 0,
DTLS_client_method,
ssl_undefined_function,
Expand Down

0 comments on commit a5614b4

Please sign in to comment.