remove double initialization of cryptodev engine
authorCristian Stoica <cristian.stoica@freescale.com>
Tue, 10 Sep 2013 09:46:46 +0000 (12:46 +0300)
committerRichard Levitte <levitte@openssl.org>
Tue, 5 Jul 2016 20:56:45 +0000 (22:56 +0200)
cryptodev engine is initialized together with the other engines in
ENGINE_load_builtin_engines. The initialization done through
OpenSSL_add_all_algorithms is redundant.

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/c_all.c

index a3ed00d4c1691fec971ef1cab137b43acb9e5a8d..719e34d22fde83861ce30a513f6c3a98ec886cda 100644 (file)
@@ -82,9 +82,4 @@ void OPENSSL_add_all_algorithms_noconf(void)
     OPENSSL_cpuid_setup();
     OpenSSL_add_all_ciphers();
     OpenSSL_add_all_digests();
-#ifndef OPENSSL_NO_ENGINE
-# if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
-    ENGINE_setup_bsd_cryptodev();
-# endif
-#endif
 }