diff options
| author | djm <> | 2012-10-13 21:25:14 +0000 |
|---|---|---|
| committer | djm <> | 2012-10-13 21:25:14 +0000 |
| commit | 942650cdef05a877200cb7aff3a075935a5fd0cd (patch) | |
| tree | 281e0a29ae8f87a8c47fbd4deaa1f3d48b8cc5c1 /src/lib/libcrypto/engine/eng_all.c | |
| parent | 37f091539f73e1650c83acd0c78677ef48c209a6 (diff) | |
| download | openbsd-942650cdef05a877200cb7aff3a075935a5fd0cd.tar.gz openbsd-942650cdef05a877200cb7aff3a075935a5fd0cd.tar.bz2 openbsd-942650cdef05a877200cb7aff3a075935a5fd0cd.zip | |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/engine/eng_all.c')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_all.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/engine/eng_all.c b/src/lib/libcrypto/engine/eng_all.c index 79d1f2beff..0ae5d672b1 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 |
| @@ -72,10 +74,12 @@ void ENGINE_load_builtin_engines(void) | |||
| 72 | ENGINE_load_cryptodev(); | 74 | ENGINE_load_cryptodev(); |
| 73 | #endif | 75 | #endif |
| 74 | 76 | ||
| 75 | #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AESNI) | 77 | #ifndef OPENSSL_NO_RSAX |
| 76 | ENGINE_load_aesni(); | 78 | ENGINE_load_rsax(); |
| 79 | #endif | ||
| 80 | #ifndef OPENSSL_NO_RDRAND | ||
| 81 | ENGINE_load_rdrand(); | ||
| 77 | #endif | 82 | #endif |
| 78 | |||
| 79 | ENGINE_load_dynamic(); | 83 | ENGINE_load_dynamic(); |
| 80 | #ifndef OPENSSL_NO_STATIC_ENGINE | 84 | #ifndef OPENSSL_NO_STATIC_ENGINE |
| 81 | #ifndef OPENSSL_NO_HW | 85 | #ifndef OPENSSL_NO_HW |
| @@ -117,6 +121,7 @@ void ENGINE_load_builtin_engines(void) | |||
| 117 | ENGINE_load_capi(); | 121 | ENGINE_load_capi(); |
| 118 | #endif | 122 | #endif |
| 119 | #endif | 123 | #endif |
| 124 | ENGINE_register_all_complete(); | ||
| 120 | } | 125 | } |
| 121 | 126 | ||
| 122 | #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV) | 127 | #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV) |
