Commit 160f9b5b authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),

this means that some implementations will be used automatically, e.g. aesni,
we do this for cryptodev anyway.

Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
parent 53e7985c
Loading
Loading
Loading
Loading
+5 −0
Changes for CHANGES: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@

 Changes between 1.0.0a and 1.0.1  [xx XXX xxxx]

  *) Add call to ENGINE_register_all_complete() to
     ENGINE_load_builtin_engines(), so some implementations get used
     automatically instead of needing explicit application support.
     [Steve Henson]

  *) Add support for TLS key exporter as described in RFC5705.
     [Robin Seggelmann <seggelmann@fh-muenster.de>, Steve Henson]

+3 −0
Changes for crypto/engine/eng_all.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@

void ENGINE_load_builtin_engines(void)
	{
	/* Some ENGINEs need this */
	OPENSSL_cpuid_setup();
#if 0
	/* There's no longer any need for an "openssl" ENGINE unless, one day,
	 * it is the *only* way for standard builtin implementations to be be
@@ -112,6 +114,7 @@ void ENGINE_load_builtin_engines(void)
	ENGINE_load_capi();
#endif
#endif
	ENGINE_register_all_complete();
	}

#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)