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/e_chil.c | |
parent | f3b7bdadbcd94ae5d0b9f31ac549510621f6963e (diff) | |
download | openssl-31636a3ed1bc795656c8764cffec273454827776.tar.gz |
Allow the CHIL engine to load even if dynamic locks aren't registered.
Submitted by: Sander Temme
Diffstat (limited to 'engines/e_chil.c')
-rw-r--r-- | engines/e_chil.c | 6 |
1 files changed, 0 insertions, 6 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 |