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:
0463052
)
Free engine on error.
author
Ben Laurie
<ben@links.org>
Sat, 16 Apr 2016 04:33:24 +0000
(
05:33
+0100)
committer
Ben Laurie
<ben@links.org>
Mon, 18 Apr 2016 09:21:56 +0000
(10:21 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/engine/eng_cryptodev.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_cryptodev.c
b/crypto/engine/eng_cryptodev.c
index 59eab5a74472a6c795fb2002b24ca7cd9fc0ef63..bdc49ed8a8baa6404119bb09b7c602be5ab70613 100644
(file)
--- a/
crypto/engine/eng_cryptodev.c
+++ b/
crypto/engine/eng_cryptodev.c
@@
-1671,6
+1671,9
@@
void engine_load_cryptodev_int(void)
cryptodev_rsa_nocrt_mod_exp);
}
}
+ } else {
+ ENGINE_free(engine);
+ return;
}
#ifndef OPENSSL_NO_DSA
@@
-1708,6
+1711,9
@@
void engine_load_cryptodev_int(void)
cryptodev_dh_compute_key);
}
}
+ } else {
+ ENGINE_free(engine);
+ return;
}
#endif