diff options
author | Ben Laurie <ben@links.org> | 2014-04-23 18:13:20 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2014-07-01 23:39:17 +0100 |
commit | 2db3ea29298bdc347f15fbfab6d5746022f05101 (patch) | |
tree | 1dfc2be74b8b99d12ca838d6417230a1ccd6a4df /ssl/ssl_locl.h | |
parent | c28b055a0c36bc7d062255fd34bf72a9c6188a25 (diff) |
Fix possible buffer overrun.
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index eb4d8f2fa9..97cde4055d 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1096,8 +1096,8 @@ int tls1_ec_nid2curve_id(int nid); #endif /* OPENSSL_NO_EC */ #ifndef OPENSSL_NO_TLSEXT -unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned char *limit); -unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *p, unsigned char *limit); +unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *buf, unsigned char *limit); +unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *buf, unsigned char *limit); int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **data, unsigned char *d, int n, int *al); int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **data, unsigned char *d, int n, int *al); int ssl_prepare_clienthello_tlsext(SSL *s); |