diff options
| author | jsing <> | 2019-01-18 00:55:15 +0000 |
|---|---|---|
| committer | jsing <> | 2019-01-18 00:55:15 +0000 |
| commit | d3e4cdbf1ae1265b3c47a8d23d4e9140e50e12af (patch) | |
| tree | 8a6e5ff9553fdc6ea8e4055a9ea3f1db1428db9c /src/regress/lib/libssl/unit | |
| parent | 9ef012160f94ffb22c839c82671d1f434a37474d (diff) | |
| download | openbsd-d3e4cdbf1ae1265b3c47a8d23d4e9140e50e12af.tar.gz openbsd-d3e4cdbf1ae1265b3c47a8d23d4e9140e50e12af.tar.bz2 openbsd-d3e4cdbf1ae1265b3c47a8d23d4e9140e50e12af.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 | ||
