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:35:29 +0000 (10:35 +0100)
commit9c89d290834f3ed9146eeb8b64fe5de817679a0b
treebaabb3821bc491207f7fd6eebca3758f89e40576
parent90e7cdff3aa66779486914f88333f6601f0c1cf4
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>
ssl/t1_lib.c