diff options
author | tb <> | 2020-07-03 04:14:10 +0000 |
---|---|---|
committer | tb <> | 2020-07-03 04:14:10 +0000 |
commit | dd32aaf237307de264cbc196e8825704c22c9b9e (patch) | |
tree | 4ac78c2a07ac43404aa40cda80f2d4e7c318675b /src/regress/lib/libssl | |
parent | ff53bda3a806f25f83afd5342a70095c4be03007 (diff) | |
download | openbsd-dd32aaf237307de264cbc196e8825704c22c9b9e.tar.gz openbsd-dd32aaf237307de264cbc196e8825704c22c9b9e.tar.bz2 openbsd-dd32aaf237307de264cbc196e8825704c22c9b9e.zip |
adjust alpn extension test to new argument order
Diffstat (limited to 'src/regress/lib/libssl')
-rw-r--r-- | src/regress/lib/libssl/unit/tls_ext_alpn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/unit/tls_ext_alpn.c b/src/regress/lib/libssl/unit/tls_ext_alpn.c index 63e5f247c8..378929aa5b 100644 --- a/src/regress/lib/libssl/unit/tls_ext_alpn.c +++ b/src/regress/lib/libssl/unit/tls_ext_alpn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_ext_alpn.c,v 1.6 2019/01/18 00:55:15 jsing Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.7 2020/07/03 04:14:10 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
4 | * | 4 | * |
@@ -321,9 +321,9 @@ static uint8_t proto_invalid_missing9[] = { | |||
321 | int al; \ | 321 | int al; \ |
322 | \ | 322 | \ |
323 | CBS_init(&cbs, proto, sizeof(proto)); \ | 323 | CBS_init(&cbs, proto, sizeof(proto)); \ |
324 | CHECK(c_val == tlsext_server_parse(s, &cbs, &al, SSL_TLSEXT_MSG_CH)); \ | 324 | CHECK(c_val == tlsext_server_parse(s, SSL_TLSEXT_MSG_CH, &cbs, &al)); \ |
325 | CBS_init(&cbs, proto, sizeof(proto)); \ | 325 | CBS_init(&cbs, proto, sizeof(proto)); \ |
326 | CHECK(s_val == tlsext_client_parse(s, &cbs, &al, SSL_TLSEXT_MSG_SH)); \ | 326 | CHECK(s_val == tlsext_client_parse(s, SSL_TLSEXT_MSG_SH, &cbs, &al)); \ |
327 | } \ | 327 | } \ |
328 | } while (0) | 328 | } while (0) |
329 | 329 | ||