diff options
author | jsing <> | 2022-01-06 18:27:31 +0000 |
---|---|---|
committer | jsing <> | 2022-01-06 18:27:31 +0000 |
commit | 77745bde0f2e8b6978d2a5c85f7dfe9912ec7a01 (patch) | |
tree | 8dce207d3220e764dadc21ad03bbe2c861071adb | |
parent | 8aaae3574818dcc48e518588a5f21f25567c50f6 (diff) | |
download | openbsd-77745bde0f2e8b6978d2a5c85f7dfe9912ec7a01.tar.gz openbsd-77745bde0f2e8b6978d2a5c85f7dfe9912ec7a01.tar.bz2 openbsd-77745bde0f2e8b6978d2a5c85f7dfe9912ec7a01.zip |
Revise for change to tls_key_share_peer_public()
-rw-r--r-- | src/regress/lib/libssl/tlsext/tlsexttest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 24b4e09784..6cfe20f569 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.56 2022/01/05 17:10:59 jsing Exp $ */ | 1 | /* $OpenBSD: tlsexttest.c,v 1.57 2022/01/06 18:27:31 jsing 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> |
@@ -3303,8 +3303,7 @@ test_tlsext_keyshare_server(void) | |||
3303 | 3303 | ||
3304 | CBS_init(&cbs, bogokey, sizeof(bogokey)); | 3304 | CBS_init(&cbs, bogokey, sizeof(bogokey)); |
3305 | 3305 | ||
3306 | if (!tls_key_share_peer_public(S3I(ssl)->hs.key_share, | 3306 | if (!tls_key_share_peer_public(S3I(ssl)->hs.key_share, &cbs, NULL)) { |
3307 | 0x001d, &cbs)) { | ||
3308 | FAIL("failed to load peer public key\n"); | 3307 | FAIL("failed to load peer public key\n"); |
3309 | goto done; | 3308 | goto done; |
3310 | } | 3309 | } |