diff options
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libssl/client/clienttest.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/regress/lib/libssl/client/clienttest.c b/src/regress/lib/libssl/client/clienttest.c index 17c678b1cc..86f6e2d6ca 100644 --- a/src/regress/lib/libssl/client/clienttest.c +++ b/src/regress/lib/libssl/client/clienttest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: clienttest.c,v 1.29 2021/06/27 16:33:30 jsing Exp $ */ | 1 | /* $OpenBSD: clienttest.c,v 1.30 2021/06/27 16:36:53 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -347,11 +347,12 @@ make_client_hello(int protocol, char **out, size_t *outlen) | |||
| 347 | case TLS1_2_VERSION: | 347 | case TLS1_2_VERSION: |
| 348 | client_hello = client_hello_tls12; | 348 | client_hello = client_hello_tls12; |
| 349 | client_hello_len = sizeof(client_hello_tls12); | 349 | client_hello_len = sizeof(client_hello_tls12); |
| 350 | if (ssl_aes_is_accelerated()) | 350 | cipher_list = cipher_list_tls12_chacha; |
| 351 | cipher_list = cipher_list_tls12_aes; | ||
| 352 | else | ||
| 353 | cipher_list = cipher_list_tls12_chacha; | ||
| 354 | cipher_list_len = sizeof(cipher_list_tls12_chacha); | 351 | cipher_list_len = sizeof(cipher_list_tls12_chacha); |
| 352 | if (ssl_aes_is_accelerated()) { | ||
| 353 | cipher_list = cipher_list_tls12_aes; | ||
| 354 | cipher_list_len = sizeof(cipher_list_tls12_aes); | ||
| 355 | } | ||
| 355 | cipher_list_offset = SSL3_CIPHER_OFFSET; | 356 | cipher_list_offset = SSL3_CIPHER_OFFSET; |
| 356 | break; | 357 | break; |
| 357 | 358 | ||
