Fix the declaration of tls_parse_extension in statem_locl.h
authorMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 11:42:38 +0000 (11:42 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 17:21:48 +0000 (17:21 +0000)
Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_locl.h

index 9d9c1a92b72b155fa4009c0d7524c83478594da6..94e64b577b140b6515085dacbe1283b5cf0c7038 100644 (file)
@@ -155,7 +155,7 @@ __owur int tls_construct_new_session_ticket(SSL *s, WPACKET *pkt);
 
 __owur int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context,
                                   RAW_EXTENSION **res, int *al);
-__owur int tls_parse_extension(SSL *s, unsigned int idx, int context,
+__owur int tls_parse_extension(SSL *s, TLSEXT_INDEX idx, int context,
                                RAW_EXTENSION *exts, int *al);
 __owur int tls_parse_all_extensions(SSL *s, int context, RAW_EXTENSION *exts,
                                     int *al);