diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-03-12 17:10:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-03-12 17:10:26 +0000 |
commit | 617298dca3b03d7c385c3b70b79719c924295de2 (patch) | |
tree | 7dc46001dc47b3e7de93d2811fcfe04c12f832ac /apps | |
parent | 33ab2e31f380888dc3b8d8ba7da6ded1ae51b0d5 (diff) |
Update from stable branch.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |