projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure ERR_get_error() is declared.
[openssl.git]
/
crypto
/
engine
/
engine_all.c
diff --git
a/crypto/engine/engine_all.c
b/crypto/engine/engine_all.c
index 28da0c6d1bf451762d8724b79436598a0c5a44f6..0860b1e344c639aaf4c89fcd85b1ca775f5b56f4 100644
(file)
--- a/
crypto/engine/engine_all.c
+++ b/
crypto/engine/engine_all.c
@@
-56,12
+56,17
@@
*
*/
+#include <openssl/err.h>
#include <openssl/engine.h>
#include "engine_int.h"
+
static int engine_add(ENGINE *e)
{
if (!ENGINE_by_id(ENGINE_get_id(e)))
+ {
+ (void)ERR_get_error();
return ENGINE_add(e);
+ }
return 1;
}