Skip to content

Commit

Permalink
fixup! adapt test for TLS_SHA{256,384}_SHA{256,384}
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Mar 7, 2024
1 parent 7436311 commit 2ac2c1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/sslapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -4447,7 +4447,10 @@ static int test_early_data_psk_with_all_ciphers(int idx)
goto end;

if (idx == 4 || idx == 5 || idx == 6) {
/* CCM8 ciphers are considered low security due to their short tag */
/*
* CCM8 ciphers are considered low security due to their short tag.
* Integrity-only cipher do not provide any confidentiality.
*/
SSL_set_security_level(clientssl, 0);
SSL_set_security_level(serverssl, 0);
}
Expand Down Expand Up @@ -5296,8 +5299,8 @@ static int test_tls13_ciphersuite(int idx)
":" TLS1_3_RFC_AES_128_CCM_SHA256, 1, 1 },
# if !defined(OPENSSL_NO_TLS1_3_INTEGRITY_ONLY_CIPHERS)
/* Integrity-only cipher do not provide any confidentiality */
{ TLS1_3_RFC_SHA256_SHA256
":" TLS1_3_RFC_SHA384_SHA384, 0, 1 }
{ TLS1_3_RFC_SHA256_SHA256, 0, 1 },
{ TLS1_3_RFC_SHA384_SHA384, 0, 1 }
# endif
};
const char *t13_cipher = NULL;
Expand Down

0 comments on commit 2ac2c1a

Please sign in to comment.