From: Dr. Stephen Henson Date: Thu, 12 Mar 2009 17:10:26 +0000 (+0000) Subject: Update from stable branch. X-Git-Tag: OpenSSL_0_9_8k^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=617298dca3b03d7c385c3b70b79719c924295de2;p=openssl Update from stable branch. --- diff --git a/apps/apps.c b/apps/apps.c index 56e87ecd3b..957939599f 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2471,7 +2471,7 @@ static void readbn(BIGNUM **bn, BIO *bconn) int l; l = BIO_gets(bconn, buf, sizeof buf); - assert(l >= 0); + assert(l > 0); assert(buf[l-1] == '\n'); buf[l-1] = '\0'; BN_hex2bn(bn, buf);