]> granicus.if.org Git - openssl/commit
Don't check for a negative SRP extension size
authorMatt Caswell <matt@openssl.org>
Mon, 25 May 2015 23:05:28 +0000 (00:05 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 26 May 2015 09:42:10 +0000 (10:42 +0100)
commit029e8f3ac9d54133c37145ad8d86208f0ffa26fa
treef06673e2adc7a1757b4f3924e4bcb1e94c99437e
parent28ea6ad61277a498c859eea75385b28629206f50
Don't check for a negative SRP extension size

The size of the SRP extension can never be negative (the variable
|size| is unsigned). Therefore don't check if it is less than zero.

RT#3862

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 9c89d290834f3ed9146eeb8b64fe5de817679a0b)
ssl/t1_lib.c