summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-12-18 13:54:16 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-12-18 13:54:16 +0000
commita9636ccabfc48a7e6124873475a08dffb52d6a92 (patch)
treefce0b9ae48763f286d794742c502df182a0a5957 /regress/lib
parent9d40e8af712187aef68723881a34a4a0eb33e6df (diff)
Revise regress for changes to ssl_parse_serverhello_tlsext().
Same diff from inoguchi@
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libssl/unit/tls_ext_alpn.c6
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 d792272bf8c..e4ad2c5fd4f 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.1 2015/07/09 07:47:02 doug Exp $ */
+/* $OpenBSD: tls_ext_alpn.c,v 1.2 2016/12/18 13:54:15 jsing Exp $ */
/*
* Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
*
@@ -26,7 +26,7 @@
extern int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p,
unsigned char *d, int n, int *al);
extern int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **p,
- unsigned char *d, int n, int *al);
+ int n, int *al);
/*
* In the ProtocolNameList, ProtocolNames must not include empty strings and
@@ -325,7 +325,7 @@ static uint8_t proto_invalid_missing9[] = {
proto, sizeof(proto), &al)); \
p = proto; \
CHECK(s_val == ssl_parse_serverhello_tlsext(s, &p, \
- proto, sizeof(proto), &al)); \
+ sizeof(proto), &al)); \
} \
} while (0)