diff options
| author | tb <> | 2022-02-05 18:19:39 +0000 |
|---|---|---|
| committer | tb <> | 2022-02-05 18:19:39 +0000 |
| commit | e2e4aa264d4ea8d418d429d7dae670abe37766a1 (patch) | |
| tree | d01d5029c64665fd458685431ed5f5a156737782 /src | |
| parent | e5500000382c402276da7446a43a82d0153d2f1d (diff) | |
| download | openbsd-e2e4aa264d4ea8d418d429d7dae670abe37766a1.tar.gz openbsd-e2e4aa264d4ea8d418d429d7dae670abe37766a1.tar.bz2 openbsd-e2e4aa264d4ea8d418d429d7dae670abe37766a1.zip | |
Adjust the ssl_get_shared_ciphers to the new names.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c b/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c index 212ea99f30..33efc15f10 100644 --- a/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c +++ b/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_get_shared_ciphers.c,v 1.10 2021/05/04 18:20:05 tb Exp $ */ | 1 | /* $OpenBSD: ssl_get_shared_ciphers.c,v 1.11 2022/02/05 18:19:39 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> |
| 4 | * | 4 | * |
| @@ -53,9 +53,9 @@ static const struct ssl_shared_ciphers_test_data ssl_shared_ciphers_tests[] = { | |||
| 53 | .max_version = TLS1_3_VERSION, | 53 | .max_version = TLS1_3_VERSION, |
| 54 | .min_version = TLS1_3_VERSION, | 54 | .min_version = TLS1_3_VERSION, |
| 55 | .ciphers = | 55 | .ciphers = |
| 56 | "AEAD-AES256-GCM-SHA384:" | 56 | "TLS_AES_256_GCM_SHA384:" |
| 57 | "AEAD-CHACHA20-POLY1305-SHA256:" | 57 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 58 | "AEAD-AES128-GCM-SHA256", | 58 | "TLS_AES_128_GCM_SHA256", |
| 59 | }, | 59 | }, |
| 60 | .server_config = { | 60 | .server_config = { |
| 61 | .name = "server", | 61 | .name = "server", |
| @@ -63,14 +63,14 @@ static const struct ssl_shared_ciphers_test_data ssl_shared_ciphers_tests[] = { | |||
| 63 | .max_version = TLS1_3_VERSION, | 63 | .max_version = TLS1_3_VERSION, |
| 64 | .min_version = TLS1_3_VERSION, | 64 | .min_version = TLS1_3_VERSION, |
| 65 | .ciphers = | 65 | .ciphers = |
| 66 | "AEAD-AES256-GCM-SHA384:" | 66 | "TLS_AES_256_GCM_SHA384:" |
| 67 | "AEAD-CHACHA20-POLY1305-SHA256:" | 67 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 68 | "AEAD-AES128-GCM-SHA256", | 68 | "TLS_AES_128_GCM_SHA256", |
| 69 | }, | 69 | }, |
| 70 | .shared_ciphers = | 70 | .shared_ciphers = |
| 71 | "AEAD-AES256-GCM-SHA384:" | 71 | "TLS_AES_256_GCM_SHA384:" |
| 72 | "AEAD-CHACHA20-POLY1305-SHA256:" | 72 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 73 | "AEAD-AES128-GCM-SHA256", | 73 | "TLS_AES_128_GCM_SHA256", |
| 74 | }, | 74 | }, |
| 75 | 75 | ||
| 76 | { | 76 | { |
| @@ -81,8 +81,8 @@ static const struct ssl_shared_ciphers_test_data ssl_shared_ciphers_tests[] = { | |||
| 81 | .max_version = TLS1_3_VERSION, | 81 | .max_version = TLS1_3_VERSION, |
| 82 | .min_version = TLS1_3_VERSION, | 82 | .min_version = TLS1_3_VERSION, |
| 83 | .ciphers = | 83 | .ciphers = |
| 84 | "AEAD-AES256-GCM-SHA384:" | 84 | "TLS_AES_256_GCM_SHA384:" |
| 85 | "AEAD-AES128-GCM-SHA256", | 85 | "TLS_AES_128_GCM_SHA256", |
| 86 | }, | 86 | }, |
| 87 | .server_config = { | 87 | .server_config = { |
| 88 | .name = "server", | 88 | .name = "server", |
| @@ -90,13 +90,13 @@ static const struct ssl_shared_ciphers_test_data ssl_shared_ciphers_tests[] = { | |||
| 90 | .max_version = TLS1_3_VERSION, | 90 | .max_version = TLS1_3_VERSION, |
| 91 | .min_version = TLS1_3_VERSION, | 91 | .min_version = TLS1_3_VERSION, |
| 92 | .ciphers = | 92 | .ciphers = |
| 93 | "AEAD-AES256-GCM-SHA384:" | 93 | "TLS_AES_256_GCM_SHA384:" |
| 94 | "AEAD-CHACHA20-POLY1305-SHA256:" | 94 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 95 | "AEAD-AES128-GCM-SHA256", | 95 | "TLS_AES_128_GCM_SHA256", |
| 96 | }, | 96 | }, |
| 97 | .shared_ciphers = | 97 | .shared_ciphers = |
| 98 | "AEAD-AES256-GCM-SHA384:" | 98 | "TLS_AES_256_GCM_SHA384:" |
| 99 | "AEAD-AES128-GCM-SHA256", | 99 | "TLS_AES_128_GCM_SHA256", |
| 100 | }, | 100 | }, |
| 101 | 101 | ||
| 102 | { | 102 | { |
| @@ -186,14 +186,14 @@ static const struct ssl_shared_ciphers_test_data ssl_shared_ciphers_tests[] = { | |||
| 186 | "ECDHE-RSA-AES256-GCM-SHA384", | 186 | "ECDHE-RSA-AES256-GCM-SHA384", |
| 187 | }, | 187 | }, |
| 188 | .shared_ciphers = | 188 | .shared_ciphers = |
| 189 | "AEAD-AES256-GCM-SHA384:" | 189 | "TLS_AES_256_GCM_SHA384:" |
| 190 | "AEAD-CHACHA20-POLY1305-SHA256:" | 190 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 191 | "AEAD-AES128-GCM-SHA256:" | 191 | "TLS_AES_128_GCM_SHA256:" |
| 192 | "ECDHE-RSA-AES256-GCM-SHA384", | 192 | "ECDHE-RSA-AES256-GCM-SHA384", |
| 193 | .shared_ciphers_without_aesni = | 193 | .shared_ciphers_without_aesni = |
| 194 | "AEAD-CHACHA20-POLY1305-SHA256:" | 194 | "TLS_CHACHA20_POLY1305_SHA256:" |
| 195 | "AEAD-AES256-GCM-SHA384:" | 195 | "TLS_AES_256_GCM_SHA384:" |
| 196 | "AEAD-AES128-GCM-SHA256:" | 196 | "TLS_AES_128_GCM_SHA256:" |
| 197 | "ECDHE-RSA-AES256-GCM-SHA384", | 197 | "ECDHE-RSA-AES256-GCM-SHA384", |
| 198 | }, | 198 | }, |
| 199 | }; | 199 | }; |
