diff options
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/doc/engine.pod | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/engine/eng_all.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/engine/engine.h | 17 | ||||
-rw-r--r-- | src/lib/libcrypto/ts/ts_conf.c | 3 |
4 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/libcrypto/doc/engine.pod b/src/lib/libcrypto/doc/engine.pod index 1985924319..4b4d76f3e4 100644 --- a/src/lib/libcrypto/doc/engine.pod +++ b/src/lib/libcrypto/doc/engine.pod | |||
@@ -24,7 +24,6 @@ engine - ENGINE cryptographic module support | |||
24 | void ENGINE_load_openssl(void); | 24 | void ENGINE_load_openssl(void); |
25 | void ENGINE_load_dynamic(void); | 25 | void ENGINE_load_dynamic(void); |
26 | #ifndef OPENSSL_NO_STATIC_ENGINE | 26 | #ifndef OPENSSL_NO_STATIC_ENGINE |
27 | void ENGINE_load_chil(void); | ||
28 | void ENGINE_load_gmp(void); | 27 | void ENGINE_load_gmp(void); |
29 | void ENGINE_load_nuron(void); | 28 | void ENGINE_load_nuron(void); |
30 | #endif | 29 | #endif |
@@ -316,8 +315,6 @@ functions, eg. | |||
316 | 315 | ||
317 | /* Make the "dynamic" ENGINE available */ | 316 | /* Make the "dynamic" ENGINE available */ |
318 | void ENGINE_load_dynamic(void); | 317 | void ENGINE_load_dynamic(void); |
319 | /* Make support for nCipher's "CHIL" hardware available */ | ||
320 | void ENGINE_load_chil(void); | ||
321 | ... | 318 | ... |
322 | /* Make ALL ENGINE implementations bundled with OpenSSL available */ | 319 | /* Make ALL ENGINE implementations bundled with OpenSSL available */ |
323 | void ENGINE_load_builtin_engines(void); | 320 | void ENGINE_load_builtin_engines(void); |
diff --git a/src/lib/libcrypto/engine/eng_all.c b/src/lib/libcrypto/engine/eng_all.c index 6402afb6cb..c9210fb514 100644 --- a/src/lib/libcrypto/engine/eng_all.c +++ b/src/lib/libcrypto/engine/eng_all.c | |||
@@ -82,9 +82,6 @@ void ENGINE_load_builtin_engines(void) | |||
82 | ENGINE_load_dynamic(); | 82 | ENGINE_load_dynamic(); |
83 | #ifndef OPENSSL_NO_STATIC_ENGINE | 83 | #ifndef OPENSSL_NO_STATIC_ENGINE |
84 | #ifndef OPENSSL_NO_HW | 84 | #ifndef OPENSSL_NO_HW |
85 | #ifndef OPENSSL_NO_HW_NCIPHER | ||
86 | ENGINE_load_chil(); | ||
87 | #endif | ||
88 | #ifndef OPENSSL_NO_HW_NURON | 85 | #ifndef OPENSSL_NO_HW_NURON |
89 | ENGINE_load_nuron(); | 86 | ENGINE_load_nuron(); |
90 | #endif | 87 | #endif |
diff --git a/src/lib/libcrypto/engine/engine.h b/src/lib/libcrypto/engine/engine.h index e9478dd12f..a2b7e83a66 100644 --- a/src/lib/libcrypto/engine/engine.h +++ b/src/lib/libcrypto/engine/engine.h | |||
@@ -246,22 +246,6 @@ extern "C" { | |||
246 | * commands from this value. (ie. ENGINE_CMD_BASE, ENGINE_CMD_BASE + 1, etc). */ | 246 | * commands from this value. (ie. ENGINE_CMD_BASE, ENGINE_CMD_BASE + 1, etc). */ |
247 | #define ENGINE_CMD_BASE 200 | 247 | #define ENGINE_CMD_BASE 200 |
248 | 248 | ||
249 | /* NB: These 2 nCipher "chil" control commands are deprecated, and their | ||
250 | * functionality is now available through ENGINE-specific control commands | ||
251 | * (exposed through the above-mentioned 'CMD'-handling). Code using these 2 | ||
252 | * commands should be migrated to the more general command handling before these | ||
253 | * are removed. */ | ||
254 | |||
255 | /* Flags specific to the nCipher "chil" engine */ | ||
256 | #define ENGINE_CTRL_CHIL_SET_FORKCHECK 100 | ||
257 | /* Depending on the value of the (long)i argument, this sets or | ||
258 | * unsets the SimpleForkCheck flag in the CHIL API to enable or | ||
259 | * disable checking and workarounds for applications that fork(). | ||
260 | */ | ||
261 | #define ENGINE_CTRL_CHIL_NO_LOCKING 101 | ||
262 | /* This prevents the initialisation function from providing mutex | ||
263 | * callbacks to the nCipher library. */ | ||
264 | |||
265 | /* If an ENGINE supports its own specific control commands and wishes the | 249 | /* If an ENGINE supports its own specific control commands and wishes the |
266 | * framework to handle the above 'ENGINE_CMD_***'-manipulation commands on its | 250 | * framework to handle the above 'ENGINE_CMD_***'-manipulation commands on its |
267 | * behalf, it should supply a null-terminated array of ENGINE_CMD_DEFN entries | 251 | * behalf, it should supply a null-terminated array of ENGINE_CMD_DEFN entries |
@@ -332,7 +316,6 @@ ENGINE *ENGINE_by_id(const char *id); | |||
332 | void ENGINE_load_openssl(void); | 316 | void ENGINE_load_openssl(void); |
333 | void ENGINE_load_dynamic(void); | 317 | void ENGINE_load_dynamic(void); |
334 | #ifndef OPENSSL_NO_STATIC_ENGINE | 318 | #ifndef OPENSSL_NO_STATIC_ENGINE |
335 | void ENGINE_load_chil(void); | ||
336 | void ENGINE_load_nuron(void); | 319 | void ENGINE_load_nuron(void); |
337 | void ENGINE_load_padlock(void); | 320 | void ENGINE_load_padlock(void); |
338 | void ENGINE_load_capi(void); | 321 | void ENGINE_load_capi(void); |
diff --git a/src/lib/libcrypto/ts/ts_conf.c b/src/lib/libcrypto/ts/ts_conf.c index c39be76f28..212f8bf702 100644 --- a/src/lib/libcrypto/ts/ts_conf.c +++ b/src/lib/libcrypto/ts/ts_conf.c | |||
@@ -217,9 +217,6 @@ int TS_CONF_set_default_engine(const char *name) | |||
217 | if (strcmp(name, "builtin") == 0) return 1; | 217 | if (strcmp(name, "builtin") == 0) return 1; |
218 | 218 | ||
219 | if (!(e = ENGINE_by_id(name))) goto err; | 219 | if (!(e = ENGINE_by_id(name))) goto err; |
220 | /* Enable the use of the NCipher HSM for forked children. */ | ||
221 | if (strcmp(name, "chil") == 0) | ||
222 | ENGINE_ctrl(e, ENGINE_CTRL_CHIL_SET_FORKCHECK, 1, 0, 0); | ||
223 | /* All the operations are going to be carried out by the engine. */ | 220 | /* All the operations are going to be carried out by the engine. */ |
224 | if (!ENGINE_set_default(e, ENGINE_METHOD_ALL)) goto err; | 221 | if (!ENGINE_set_default(e, ENGINE_METHOD_ALL)) goto err; |
225 | ret = 1; | 222 | ret = 1; |