projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace exit() with error return.
[openssl.git]
/
crypto
/
engine
/
eng_rsax.c
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 */