diff options
author | Geoff Thorpe <geoff@openssl.org> | 2008-11-19 14:21:27 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2008-11-19 14:21:27 +0000 |
commit | 31636a3ed1bc795656c8764cffec273454827776 (patch) | |
tree | 1849b909096ed8d09a6219780cdd6b098c8ff547 /engines | |
parent | f3b7bdadbcd94ae5d0b9f31ac549510621f6963e (diff) |
Allow the CHIL engine to load even if dynamic locks aren't registered.
Submitted by: Sander Temme
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_chil.c | 6 | ||||
-rw-r--r-- | engines/e_chil_err.c | 1 | ||||
-rw-r--r-- | engines/e_chil_err.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/engines/e_chil.c b/engines/e_chil.c index 2d0bbf2683..3cf1719e7c 100644 --- a/engines/e_chil.c +++ b/engines/e_chil.c @@ -588,12 +588,6 @@ static int hwcrhk_init(ENGINE *e) hwcrhk_globals.mutex_release = hwcrhk_mutex_unlock; hwcrhk_globals.mutex_destroy = hwcrhk_mutex_destroy; } - else if (CRYPTO_get_locking_callback() != NULL) - { - HWCRHKerr(HWCRHK_F_HWCRHK_INIT,HWCRHK_R_LOCKING_MISSING); - ERR_add_error_data(1,"You HAVE to add dynamic locking callbacks via CRYPTO_set_dynlock_{create,lock,destroy}_callback()"); - goto err; - } } /* Try and get a context - if not, we may have a DSO but no diff --git a/engines/e_chil_err.c b/engines/e_chil_err.c index 3fec95a272..c5983b2fd5 100644 --- a/engines/e_chil_err.c +++ b/engines/e_chil_err.c @@ -90,7 +90,6 @@ static ERR_STRING_DATA HWCRHK_str_reasons[]= {ERR_REASON(HWCRHK_R_CHIL_ERROR) ,"chil error"}, {ERR_REASON(HWCRHK_R_CTRL_COMMAND_NOT_IMPLEMENTED),"ctrl command not implemented"}, {ERR_REASON(HWCRHK_R_DSO_FAILURE) ,"dso failure"}, -{ERR_REASON(HWCRHK_R_LOCKING_MISSING) ,"locking missing"}, {ERR_REASON(HWCRHK_R_MISSING_KEY_COMPONENTS),"missing key components"}, {ERR_REASON(HWCRHK_R_NOT_INITIALISED) ,"not initialised"}, {ERR_REASON(HWCRHK_R_NOT_LOADED) ,"not loaded"}, diff --git a/engines/e_chil_err.h b/engines/e_chil_err.h index 051854950a..3c42a02393 100644 --- a/engines/e_chil_err.h +++ b/engines/e_chil_err.h @@ -88,7 +88,6 @@ static void ERR_HWCRHK_error(int function, int reason, char *file, int line); #define HWCRHK_R_CHIL_ERROR 102 #define HWCRHK_R_CTRL_COMMAND_NOT_IMPLEMENTED 103 #define HWCRHK_R_DSO_FAILURE 104 -#define HWCRHK_R_LOCKING_MISSING 114 #define HWCRHK_R_MISSING_KEY_COMPONENTS 105 #define HWCRHK_R_NOT_INITIALISED 106 #define HWCRHK_R_NOT_LOADED 107 |