summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2022-01-06 18:27:32 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2022-01-06 18:27:32 +0000
commit631e038249083e73b4ef1a0b404b1bfafd1e0f6b (patch)
tree352cbad8e7793e1adc8723a357cb53271d6e181d /regress
parent73a3d75ac39f0546dacabe67c0af85d3ded2e2c1 (diff)
Revise for change to tls_key_share_peer_public()
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/tlsext/tlsexttest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/lib/libssl/tlsext/tlsexttest.c b/regress/lib/libssl/tlsext/tlsexttest.c
index 24b4e097847..6cfe20f5699 100644
--- a/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlsexttest.c,v 1.56 2022/01/05 17:10:59 jsing Exp $ */
+/* $OpenBSD: tlsexttest.c,v 1.57 2022/01/06 18:27:31 jsing Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -3303,8 +3303,7 @@ test_tlsext_keyshare_server(void)
CBS_init(&cbs, bogokey, sizeof(bogokey));
- if (!tls_key_share_peer_public(S3I(ssl)->hs.key_share,
- 0x001d, &cbs)) {
+ if (!tls_key_share_peer_public(S3I(ssl)->hs.key_share, &cbs, NULL)) {
FAIL("failed to load peer public key\n");
goto done;
}