projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR: 2062
[openssl.git]
/
crypto
/
bn
/
bntest.c
diff --git
a/crypto/bn/bntest.c
b/crypto/bn/bntest.c
index 14990bc4ff10489925e76031ad8d3af6d63cc6db..0cd99c5b4bb11f03daab7792493e7eec0e15dbd7 100644
(file)
--- a/
crypto/bn/bntest.c
+++ b/
crypto/bn/bntest.c
@@
-1029,7
+1029,7
@@
int test_exp(BIO *bp, BN_CTX *ctx)
BN_bntest_rand(a,20+i*5,0,0); /**/
BN_bntest_rand(b,2+i,0,0); /**/
- if (
!BN_exp(d,a,b,ctx)
)
+ if (
BN_exp(d,a,b,ctx) <= 0
)
return(0);
if (bp != NULL)