X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcrypto.h;h=273bc5e3f87df60d82e4dc75feed4c109d2ce3e0;hb=5edd0f51e39cc5a8632b693baac007e68c687a29;hp=a135ee96c7b87dea8e160b7664a07cddada1274d;hpb=97d58eadbf2f05f86451da9a384a82dd73b97dce;p=oweals%2Fopenssl.git diff --git a/crypto/crypto.h b/crypto/crypto.h index a135ee96c7..273bc5e3f8 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -127,7 +127,8 @@ extern "C" { #define CRYPTO_LOCK_DYNLOCK 29 #define CRYPTO_LOCK_ENGINE 30 #define CRYPTO_LOCK_UI 31 -#define CRYPTO_NUM_LOCKS 32 +#define CRYPTO_LOCK_HWCRHK 32 /* This is a HACK which will disappear in 0.9.8 */ +#define CRYPTO_NUM_LOCKS 33 #define CRYPTO_LOCK 1 #define CRYPTO_UNLOCK 2 @@ -387,6 +388,8 @@ void *CRYPTO_realloc_clean(void *addr,int old_num,int num,const char *file, int line); void *CRYPTO_remalloc(void *addr,int num, const char *file, int line); +void OPENSSL_cleanse(void *ptr, size_t len); + void CRYPTO_set_mem_debug_options(long bits); long CRYPTO_get_mem_debug_options(void);