Convert CRYPTO_LOCK_DSO to new multi-threading API

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Alessandro Ghedini
2016-03-04 16:04:37 +00:00
committed by Rich Salz
parent d188a53617
commit c74471d293
3 changed files with 28 additions and 11 deletions

View File

@@ -187,7 +187,6 @@ extern "C" {
# define CRYPTO_LOCK_READDIR 24
# define CRYPTO_LOCK_RSA_BLINDING 25
# define CRYPTO_LOCK_MALLOC2 27
# define CRYPTO_LOCK_DSO 28
# define CRYPTO_LOCK_DYNLOCK 29
# define CRYPTO_LOCK_ENGINE 30
# define CRYPTO_LOCK_UI 31

View File

@@ -228,6 +228,7 @@ struct dso_st {
* loaded.
*/
char *loaded_filename;
CRYPTO_RWLOCK *lock;
};
DSO *DSO_new(void);