diff options
author | jsing <> | 2016-12-18 13:54:15 +0000 |
---|---|---|
committer | jsing <> | 2016-12-18 13:54:15 +0000 |
commit | c0355984d149317e708479fbf41b18dea4b44aa2 (patch) | |
tree | 0e7b59817a5a107860516f465c96718fd793d991 | |
parent | 8119207eb552e369038e8f9265f53d902e305a76 (diff) | |
download | openbsd-c0355984d149317e708479fbf41b18dea4b44aa2.tar.gz openbsd-c0355984d149317e708479fbf41b18dea4b44aa2.tar.bz2 openbsd-c0355984d149317e708479fbf41b18dea4b44aa2.zip |
Revise regress for changes to ssl_parse_serverhello_tlsext().
Same diff from inoguchi@
-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 d792272bf8..e4ad2c5fd4 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.1 2015/07/09 07:47:02 doug Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.2 2016/12/18 13:54: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 | * |
@@ -26,7 +26,7 @@ | |||
26 | extern int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, | 26 | extern int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, |
27 | unsigned char *d, int n, int *al); | 27 | unsigned char *d, int n, int *al); |
28 | extern int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p, | 28 | extern int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p, |
29 | unsigned char *d, int n, int *al); | 29 | int n, int *al); |
30 | 30 | ||
31 | /* | 31 | /* |
32 | * In the ProtocolNameList, ProtocolNames must not include empty strings and | 32 | * In the ProtocolNameList, ProtocolNames must not include empty strings and |
@@ -325,7 +325,7 @@ static uint8_t proto_invalid_missing9[] = { | |||
325 | proto, sizeof(proto), &al)); \ | 325 | proto, sizeof(proto), &al)); \ |
326 | p = proto; \ | 326 | p = proto; \ |
327 | CHECK(s_val == ssl_parse_serverhello_tlsext(s, &p, \ | 327 | CHECK(s_val == ssl_parse_serverhello_tlsext(s, &p, \ |
328 | proto, sizeof(proto), &al)); \ | 328 | sizeof(proto), &al)); \ |
329 | } \ | 329 | } \ |
330 | } while (0) | 330 | } while (0) |
331 | 331 | ||