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:
e06433d
)
When ENGINE_by_id() couldn't find the given engine id, it generates an
author
Richard Levitte
<levitte@openssl.org>
Tue, 7 Nov 2000 13:21:09 +0000
(13:21 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 7 Nov 2000 13:21:09 +0000
(13:21 +0000)
error. When checking like engine_add() is, those errors are actually
good, so remove them.
crypto/engine/engine_all.c
patch
|
blob
|
history
diff --git
a/crypto/engine/engine_all.c
b/crypto/engine/engine_all.c
index 28da0c6d1bf451762d8724b79436598a0c5a44f6..1d2c7159503217b87a7d2806d5143f2a2507aab7 100644
(file)
--- a/
crypto/engine/engine_all.c
+++ b/
crypto/engine/engine_all.c
@@
-61,7
+61,10
@@
static int engine_add(ENGINE *e)
{
if (!ENGINE_by_id(ENGINE_get_id(e)))
+ {
+ (void)ERR_get_error();
return ENGINE_add(e);
+ }
return 1;
}