summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2022-06-06 06:11:04 +0000
committertb <>2022-06-06 06:11:04 +0000
commitc52399f8cc6ad57e12a28dd422f4c353ef5f3949 (patch)
treef536611cd13d130752850b27e26e3bf4c02c39da /src/regress/lib
parentbe914badce44e7a2dcf0d269a903bb8845f9f16a (diff)
downloadopenbsd-c52399f8cc6ad57e12a28dd422f4c353ef5f3949.tar.gz
openbsd-c52399f8cc6ad57e12a28dd422f4c353ef5f3949.tar.bz2
openbsd-c52399f8cc6ad57e12a28dd422f4c353ef5f3949.zip
Minor tweaks to psk modes regress
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c6
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