Update from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 12 Mar 2009 17:10:26 +0000 (17:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 12 Mar 2009 17:10:26 +0000 (17:10 +0000)
apps/apps.c

index 56e87ec..9579395 100644 (file)
@@ -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);