Clear OpenSSL errors on engine errors
(cherry picked from commit 2ba62aebce)
This commit is contained in:
@@ -104,6 +104,7 @@ cleanup_rm:
|
||||
ENGINE_free(e);
|
||||
}
|
||||
e = NULL;
|
||||
ERR_clear_error();
|
||||
#else
|
||||
UNUSED(engine);
|
||||
#endif /* if !defined(OPENSSL_NO_ENGINE) && OPENSSL_API_LEVEL < 30000 */
|
||||
|
||||
Reference in New Issue
Block a user