diff options
author | steve <steve> | 2011-02-14 17:05:41 +0000 |
---|---|---|
committer | steve <steve> | 2011-02-14 17:05:41 +0000 |
commit | 5847cc97389bfbe814abbcf6f684a082883a7443 (patch) | |
tree | 542bdee71ad405f07ad3171667f789f24425fcbd /crypto | |
parent | 88f0dc85188cabb1d368ed84081ab2b49d04b282 (diff) | |
download | openssl-5847cc97389bfbe814abbcf6f684a082883a7443.tar.gz |
Include support for an add_lock callback to tiny FIPS locking API.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/lock.c b/crypto/lock.c index bbce52add..6f6681d54 100644 --- a/crypto/lock.c +++ b/crypto/lock.c @@ -384,7 +384,7 @@ void CRYPTO_set_dynlock_lock_callback(void (*func)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)) { #ifdef OPENSSL_FIPS - FIPS_set_locking_callback(CRYPTO_lock); + FIPS_set_locking_callbacks(CRYPTO_lock, CRYPTO_add_lock); #endif dynlock_lock_callback=func; } @@ -412,7 +412,7 @@ void CRYPTO_set_locking_callback(void (*func)(int mode,int type, const char *file,int line)) { #ifdef OPENSSL_FIPS - FIPS_set_locking_callback(CRYPTO_lock); + FIPS_set_locking_callbacks(CRYPTO_lock, CRYPTO_add_lock); #endif locking_callback=func; } |