summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-07-03 04:14:10 +0000
committertb <tb@openbsd.org>2020-07-03 04:14:10 +0000
commitf4c23e7009ceee76659cd7430d62c3b1fc3670d7 (patch)
tree9904a0cab5efd6a21f3ab78c76b172632bfcad55
parentadjust tlsexttest to new argument order (diff)
downloadwireguard-openbsd-f4c23e7009ceee76659cd7430d62c3b1fc3670d7.tar.xz
wireguard-openbsd-f4c23e7009ceee76659cd7430d62c3b1fc3670d7.zip
adjust alpn extension test to new argument order
-rw-r--r--regress/lib/libssl/unit/tls_ext_alpn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libssl/unit/tls_ext_alpn.c b/regress/lib/libssl/unit/tls_ext_alpn.c
index 63e5f247c80..378929aa5ba 100644
--- a/regress/lib/libssl/unit/tls_ext_alpn.c
+++ b/regress/lib/libssl/unit/tls_ext_alpn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_ext_alpn.c,v 1.6 2019/01/18 00:55:15 jsing Exp $ */
+/* $OpenBSD: tls_ext_alpn.c,v 1.7 2020/07/03 04:14:10 tb Exp $ */
/*
* Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
*
@@ -321,9 +321,9 @@ static uint8_t proto_invalid_missing9[] = {
int al; \
\
CBS_init(&cbs, proto, sizeof(proto)); \
- CHECK(c_val == tlsext_server_parse(s, &cbs, &al, SSL_TLSEXT_MSG_CH)); \
+ CHECK(c_val == tlsext_server_parse(s, SSL_TLSEXT_MSG_CH, &cbs, &al)); \
CBS_init(&cbs, proto, sizeof(proto)); \
- CHECK(s_val == tlsext_client_parse(s, &cbs, &al, SSL_TLSEXT_MSG_SH)); \
+ CHECK(s_val == tlsext_client_parse(s, SSL_TLSEXT_MSG_SH, &cbs, &al)); \
} \
} while (0)