Skip to content

Commit

Permalink
quicapitest.c: add TLS_SHA{256,384}_SHA{256,384} to non quic ciphersu…
Browse files Browse the repository at this point in the history
…ites
  • Loading branch information
rajeev-0 committed Dec 13, 2023
1 parent 16ab2bb commit baebdaa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/quicapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,11 @@ static int test_cipher_find(void)
{ TLS13_AES_256_GCM_SHA384_BYTES, 1 },
{ TLS13_CHACHA20_POLY1305_SHA256_BYTES, 1 },
{ TLS13_AES_128_CCM_SHA256_BYTES, 0 },
{ TLS13_AES_128_CCM_8_SHA256_BYTES, 0 }
{ TLS13_AES_128_CCM_8_SHA256_BYTES, 0 },
#if !defined(OPENSSL_NO_INTEGRITY_ONLY_CIPHER)
{ TLS13_SHA256_SHA256_BYTES, 0 },
{ TLS13_SHA384_SHA384_BYTES, 0 }
#endif
};
size_t i;
int testresult = 0;
Expand Down Expand Up @@ -581,7 +585,9 @@ static int test_quic_forbidden_apis_ctx(void)
#define NON_QUIC_CIPHERSUITES \
"TLS_AES_128_CCM_SHA256:" \
"TLS_AES_256_CCM_SHA384:" \
"TLS_AES_128_CCM_8_SHA256"
"TLS_AES_128_CCM_8_SHA256:" \
"TLS_SHA256_SHA256:" \
"TLS_SHA384_SHA384" \

/* Set TLSv1.3 ciphersuite list for the SSL_CTX. */
if (!TEST_true(SSL_CTX_set_ciphersuites(ctx,
Expand Down

0 comments on commit baebdaa

Please sign in to comment.