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:
1323255
)
Strange how one line can make a world of difference, particularly when
author
Geoff Thorpe
<geoff@openssl.org>
Mon, 26 Jun 2000 15:58:33 +0000
(15:58 +0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Mon, 26 Jun 2000 15:58:33 +0000
(15:58 +0000)
the one line turns an error return value into a success return value.
:-) "openssl speed -engine hwcrhk rsa1024" now passes through ok.
crypto/engine/hw_ncipher.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_ncipher.c
b/crypto/engine/hw_ncipher.c
index a618de60489361de7a01fa4a280512ee5a22b363..bab20d1e28334a564ce5007ce6656f35ac25a243 100644
(file)
--- a/
crypto/engine/hw_ncipher.c
+++ b/
crypto/engine/hw_ncipher.c
@@
-615,6
+615,8
@@
static int hwcrhk_rsa_mod_exp(BIGNUM *r, BIGNUM *I, RSA *rsa)
goto err;
}
}
+ /* If we're here, we must be here with some semblance of success :-) */
+ to_return = 1;
err:
return to_return;
}