diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-07-03 04:14:11 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-07-03 04:14:11 +0000 |
commit | 1df81f8f701b3978cc2dfba7ffe36327acbd2ce7 (patch) | |
tree | 3f9d4160602f520f48be83e6c5379833a12cbaf6 /regress | |
parent | b8a0494a54f82e768af733824445fcb784893386 (diff) |
adjust alpn extension test to new argument order
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libssl/unit/tls_ext_alpn.c | 6 |
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) |