diff options
author | jsing <> | 2019-01-18 00:55:15 +0000 |
---|---|---|
committer | jsing <> | 2019-01-18 00:55:15 +0000 |
commit | d4f2f8d85299261fd08d6d00c913f5b6503e098e (patch) | |
tree | 8a6e5ff9553fdc6ea8e4055a9ea3f1db1428db9c /src/regress/lib/libssl/unit | |
parent | 66af95e693522ba3868191014eaca1fa0a95176d (diff) | |
download | openbsd-d4f2f8d85299261fd08d6d00c913f5b6503e098e.tar.gz openbsd-d4f2f8d85299261fd08d6d00c913f5b6503e098e.tar.bz2 openbsd-d4f2f8d85299261fd08d6d00c913f5b6503e098e.zip |
Update regress following TLS extension renaming.
Diffstat (limited to 'src/regress/lib/libssl/unit')
-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 7dec1bfc51..63e5f247c8 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.5 2018/02/08 11:31:00 jsing Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.6 2019/01/18 00:55:15 jsing 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_clienthello_parse(s, &cbs, &al)); \ | 324 | CHECK(c_val == tlsext_server_parse(s, &cbs, &al, SSL_TLSEXT_MSG_CH)); \ |
325 | CBS_init(&cbs, proto, sizeof(proto)); \ | 325 | CBS_init(&cbs, proto, sizeof(proto)); \ |
326 | CHECK(s_val == tlsext_serverhello_parse(s, &cbs, &al)); \ | 326 | CHECK(s_val == tlsext_client_parse(s, &cbs, &al, SSL_TLSEXT_MSG_SH)); \ |
327 | } \ | 327 | } \ |
328 | } while (0) | 328 | } while (0) |
329 | 329 | ||