summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-04-17 17:24:04 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-04-17 17:24:04 +0000
commite368bd53d262a202b82bfad8a6d8de3986dcb326 (patch)
treeaf9cd7ffe5ce1017ec22d1c3e1922ca330502c47 /regress
parent7ece31314184c5c8046d9b3061d32a6890532b40 (diff)
Update key share regress to match previous change.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/tlsext/tlsexttest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libssl/tlsext/tlsexttest.c b/regress/lib/libssl/tlsext/tlsexttest.c
index c15724da29a..eb8cef7ef54 100644
--- a/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlsexttest.c,v 1.34 2020/02/05 18:06:42 jsing Exp $ */
+/* $OpenBSD: tlsexttest.c,v 1.35 2020/04/17 17:24:03 jsing Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -3127,7 +3127,7 @@ test_tlsext_keyshare_client(void)
errx(1, "failed to create SSL");
if ((S3I(ssl)->hs_tls13.key_share =
- tls13_key_share_new(NID_X25519)) == NULL)
+ tls13_key_share_new_nid(NID_X25519)) == NULL)
errx(1, "failed to create key share");
if (!tls13_key_share_generate(S3I(ssl)->hs_tls13.key_share))
errx(1, "failed to generate key share");
@@ -3265,7 +3265,7 @@ test_tlsext_keyshare_server(void)
}
if ((S3I(ssl)->hs_tls13.key_share =
- tls13_key_share_new(NID_X25519)) == NULL)
+ tls13_key_share_new_nid(NID_X25519)) == NULL)
errx(1, "failed to create key share");
if (!tls13_key_share_generate(S3I(ssl)->hs_tls13.key_share))
errx(1, "failed to generate key share");
@@ -3298,7 +3298,7 @@ test_tlsext_keyshare_server(void)
}
if ((S3I(ssl)->hs_tls13.key_share =
- tls13_key_share_new(NID_X25519)) == NULL)
+ tls13_key_share_new_nid(NID_X25519)) == NULL)
errx(1, "failed to create key share");
if (!tls13_key_share_generate(S3I(ssl)->hs_tls13.key_share))
errx(1, "failed to generate key share");