Skip to content

Commit

Permalink
fixup! fixup! Run test_cookie() test with DTLS 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh-dc committed May 17, 2024
1 parent 70b63d1 commit 7419058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/dtlstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static int test_dtls_drop_records(int idx)
&sctx, &cctx, cert, privkey)))
return 0;

#if defined(OPENSSL_NO_DTLS1_2) && defined(OPENSSL_NO_DTLS1_3)
#ifdef OPENSSL_NO_DTLS1_2
/* Default sigalgs are SHA1 based in <DTLS1.2 which is in security level 0 */
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
Expand Down Expand Up @@ -373,7 +373,7 @@ static int test_dtls_duplicate_records(void)
&sctx, &cctx, cert, privkey)))
return 0;

#if defined(OPENSSL_NO_DTLS1_2) && defined(OPENSSL_NO_DTLS1_3)
#ifdef OPENSSL_NO_DTLS1_2
/* Default sigalgs are SHA1 based in <DTLS1.2 which is in security level 0 */
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
Expand Down Expand Up @@ -623,7 +623,7 @@ static int test_listen(void)
&sctx, &cctx, cert, privkey)))
return 0;

#if defined(OPENSSL_NO_DTLS1_2) && defined(OPENSSL_NO_DTLS1_3)
#ifdef OPENSSL_NO_DTLS1_2
/* Default sigalgs are SHA1 based in <DTLS1.2 which is in security level 0 */
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
Expand Down

0 comments on commit 7419058

Please sign in to comment.