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:
69aeb99
)
Replace exit() with error return.
author
Viktor Dkhovni
<viktor@openssl.org>
Fri, 23 Jan 2015 20:39:40 +0000
(15:39 -0500)
committer
Rich Salz
<rsalz@openssl.org>
Tue, 27 Jan 2015 21:36:25 +0000
(16:36 -0500)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/engine/eng_rsax.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_rsax.c
b/crypto/engine/eng_rsax.c
index 8362754c7a5279d01d22d1eefdf2660df7abf1f3..86ee9d89399544aadaffb1b732ddfa21ab885918 100644
(file)
--- a/
crypto/engine/eng_rsax.c
+++ b/
crypto/engine/eng_rsax.c
@@
-434,10
+434,10
@@
static int mod_exp_pre_compute_data_512(UINT64 *m, struct mod_ctx_512 *data)
BN_lshift(&two_512, BN_value_one(), 512);
if (0 == (m[7] & 0x8000000000000000)) {
-
exit(1)
;
+
goto err
;
}
if (0 == (m[0] & 0x1)) { /* Odd modulus required for Mont */
-
exit(1)
;
+
goto err
;
}
/* Precompute m1 */