projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apps: remove NULL check imn release_engine since ENGINE_free also does it.
[openssl.git]
/
apps
/
lib
/
apps.c
diff --git
a/apps/lib/apps.c
b/apps/lib/apps.c
index 6c9d62fb626adb7677ab2dcbc605e71dfa1a52a4..3e4cc288b1512d7162fb01b8c1ba201aca26ae76 100644
(file)
--- a/
apps/lib/apps.c
+++ b/
apps/lib/apps.c
@@
-1156,9
+1156,8
@@
ENGINE *setup_engine_methods(const char *id, unsigned int methods, int debug)
void release_engine(ENGINE *e)
{
#ifndef OPENSSL_NO_ENGINE
- if (e != NULL)
- /* Free our "structural" reference. */
- ENGINE_free(e);
+ /* Free our "structural" reference. */
+ ENGINE_free(e);
#endif
}