diff options
Diffstat (limited to 'src/lib/libcrypto/engine/eng_all.c')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_all.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libcrypto/engine/eng_all.c b/src/lib/libcrypto/engine/eng_all.c index 22c120454f..6093376df4 100644 --- a/src/lib/libcrypto/engine/eng_all.c +++ b/src/lib/libcrypto/engine/eng_all.c | |||
| @@ -61,6 +61,8 @@ | |||
| 61 | 61 | ||
| 62 | void ENGINE_load_builtin_engines(void) | 62 | void ENGINE_load_builtin_engines(void) |
| 63 | { | 63 | { |
| 64 | /* Some ENGINEs need this */ | ||
| 65 | OPENSSL_cpuid_setup(); | ||
| 64 | #if 0 | 66 | #if 0 |
| 65 | /* There's no longer any need for an "openssl" ENGINE unless, one day, | 67 | /* There's no longer any need for an "openssl" ENGINE unless, one day, |
| 66 | * it is the *only* way for standard builtin implementations to be be | 68 | * it is the *only* way for standard builtin implementations to be be |
| @@ -71,6 +73,12 @@ void ENGINE_load_builtin_engines(void) | |||
| 71 | #if !defined(OPENSSL_NO_HW) && (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)) | 73 | #if !defined(OPENSSL_NO_HW) && (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)) |
| 72 | ENGINE_load_cryptodev(); | 74 | ENGINE_load_cryptodev(); |
| 73 | #endif | 75 | #endif |
| 76 | #ifndef OPENSSL_NO_RSAX | ||
| 77 | ENGINE_load_rsax(); | ||
| 78 | #endif | ||
| 79 | #ifndef OPENSSL_NO_RDRAND | ||
| 80 | ENGINE_load_rdrand(); | ||
| 81 | #endif | ||
| 74 | ENGINE_load_dynamic(); | 82 | ENGINE_load_dynamic(); |
| 75 | #ifndef OPENSSL_NO_STATIC_ENGINE | 83 | #ifndef OPENSSL_NO_STATIC_ENGINE |
| 76 | #ifndef OPENSSL_NO_HW | 84 | #ifndef OPENSSL_NO_HW |
| @@ -112,6 +120,7 @@ void ENGINE_load_builtin_engines(void) | |||
| 112 | ENGINE_load_capi(); | 120 | ENGINE_load_capi(); |
| 113 | #endif | 121 | #endif |
| 114 | #endif | 122 | #endif |
| 123 | ENGINE_register_all_complete(); | ||
| 115 | } | 124 | } |
| 116 | 125 | ||
| 117 | #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV) | 126 | #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV) |
