diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2017-11-24 10:47:00 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2017-11-24 10:47:00 +1100 |
commit | 7bf8d08f157aae746311e7be1fe41b95d545d3a2 (patch) | |
tree | 66bb03131a4370fe1752ea96b924232403fca922 /lib | |
parent | 8f29876675a3d9608c34b620cafc26c39e8c6779 (diff) | |
download | nss-hg-7bf8d08f157aae746311e7be1fe41b95d545d3a2.tar.gz |
Bug 1212199 - Fix signed/unsigned warning for V2Hello handler, r=ttaubert
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/ssl3con.c | 2 | ||||
-rw-r--r-- | lib/ssl/sslimpl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/ssl3con.c b/lib/ssl/ssl3con.c index 8513e7c1d..2b4d203ad 100644 --- a/lib/ssl/ssl3con.c +++ b/lib/ssl/ssl3con.c @@ -8612,7 +8612,7 @@ loser: * in asking to use the V3 handshake. */ SECStatus -ssl3_HandleV2ClientHello(sslSocket *ss, unsigned char *buffer, int length, +ssl3_HandleV2ClientHello(sslSocket *ss, unsigned char *buffer, unsigned int length, PRUint8 padding) { sslSessionID *sid = NULL; diff --git a/lib/ssl/sslimpl.h b/lib/ssl/sslimpl.h index a4a5ff2d6..57a03d30f 100644 --- a/lib/ssl/sslimpl.h +++ b/lib/ssl/sslimpl.h @@ -1373,7 +1373,7 @@ extern SECStatus ssl3_AuthCertificateComplete(sslSocket *ss, PRErrorCode error); * for dealing with SSL 3.0 clients sending SSL 2.0 format hellos */ extern SECStatus ssl3_HandleV2ClientHello( - sslSocket *ss, unsigned char *buffer, int length, PRUint8 padding); + sslSocket *ss, unsigned char *buffer, unsigned int length, PRUint8 padding); SECStatus ssl3_SendClientHello(sslSocket *ss, sslClientHelloType type); |