From 617298dca3b03d7c385c3b70b79719c924295de2 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 12 Mar 2009 17:10:26 +0000 Subject: [PATCH] Update from stable branch. --- apps/apps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1