Skip to content

Commit 8286c78

Browse files
authored
AWS_IO_TLS_CIPHER_PREF_PQ_TLSv1_0_2021_05 is not supported now. (#727)
1 parent 9392c7b commit 8286c78

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

source/s2n/s2n_tls_channel_handler.c

-5
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ bool aws_tls_is_cipher_pref_supported(enum aws_tls_cipher_pref cipher_pref) {
268268
return true;
269269
/* PQ Crypto no-ops on android for now */
270270
#ifndef ANDROID
271-
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSv1_0_2021_05:
272-
return true;
273271
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSV1_2_2024_10:
274272
return true;
275273
case AWS_IO_TLS_CIPHER_PREF_PQ_DEFAULT:
@@ -1541,9 +1539,6 @@ static struct aws_tls_ctx *s_tls_ctx_new(
15411539
/* The specific PQ policy used here may change over time. */
15421540
security_policy = "AWS-CRT-SDK-TLSv1.2-2023-PQ";
15431541
break;
1544-
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSv1_0_2021_05:
1545-
security_policy = "PQ-TLS-1-0-2021-05-26";
1546-
break;
15471542
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSV1_2_2024_10:
15481543
security_policy = "AWS-CRT-SDK-TLSv1.2-2023-PQ";
15491544
break;

0 commit comments

Comments
 (0)