diff options
| author | tb <> | 2022-06-06 06:11:04 +0000 |
|---|---|---|
| committer | tb <> | 2022-06-06 06:11:04 +0000 |
| commit | 993e487bf547f891d80bac27a489cdb6940df311 (patch) | |
| tree | f536611cd13d130752850b27e26e3bf4c02c39da /src | |
| parent | 93f618bd77f2ffb1055ed5db96e79328dea4da17 (diff) | |
| download | openbsd-993e487bf547f891d80bac27a489cdb6940df311.tar.gz openbsd-993e487bf547f891d80bac27a489cdb6940df311.tar.bz2 openbsd-993e487bf547f891d80bac27a489cdb6940df311.zip | |
Minor tweaks to psk modes regress
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libssl/tlsext/tlsexttest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 6b1ce3ca0c..297aff2441 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tlsexttest.c,v 1.62 2022/06/05 20:37:24 tb Exp $ */ | 1 | /* $OpenBSD: tlsexttest.c,v 1.63 2022/06/06 06:11:04 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
| @@ -3634,7 +3634,7 @@ test_tlsext_psk_modes_client(void) | |||
| 3634 | goto err; | 3634 | goto err; |
| 3635 | } | 3635 | } |
| 3636 | 3636 | ||
| 3637 | /* Make sure we can build the psk modes with DHE key establishments. */ | 3637 | /* Make sure we can build psk modes with DHE key establishment. */ |
| 3638 | 3638 | ||
| 3639 | if (!tlsext_psk_kex_modes_client_build(ssl, SSL_TLSEXT_MSG_CH, &cbb)) { | 3639 | if (!tlsext_psk_kex_modes_client_build(ssl, SSL_TLSEXT_MSG_CH, &cbb)) { |
| 3640 | FAIL("client failed to build psk kex modes\n"); | 3640 | FAIL("client failed to build psk kex modes\n"); |
| @@ -3758,7 +3758,7 @@ test_tlsext_psk_modes_server(void) | |||
| 3758 | errx(1, "failed to create SSL"); | 3758 | errx(1, "failed to create SSL"); |
| 3759 | 3759 | ||
| 3760 | if (tlsext_psk_kex_modes_server_needs(ssl, SSL_TLSEXT_MSG_SH)) { | 3760 | if (tlsext_psk_kex_modes_server_needs(ssl, SSL_TLSEXT_MSG_SH)) { |
| 3761 | FAIL("server should not need psk kex modes by default\n"); | 3761 | FAIL("server should not need psk kex modes\n"); |
| 3762 | goto err; | 3762 | goto err; |
| 3763 | } | 3763 | } |
| 3764 | 3764 | ||
