projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ab2e3
)
Update from stable branch.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 12 Mar 2009 17:10:26 +0000
(17:10 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 12 Mar 2009 17:10:26 +0000
(17:10 +0000)
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index 56e87ecd3b2151d51718ccf714962148077cd28f..957939599fae36d8060cd614b01e6bc4627dccb9 100644
(file)
--- 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);