diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-27 12:24:05 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-27 12:24:05 +0000 |
commit | df29cc8f77bcf09cdd245feeaea452f5f91e4125 (patch) | |
tree | aa076e181f80d3f226b75ead2a447c5111d0b58d /crypto/crypto.h | |
parent | ec7164133d09b1a8368ad064f501ab163f5cfebb (diff) | |
download | openssl-df29cc8f77bcf09cdd245feeaea452f5f91e4125.tar.gz |
Add OPENSSL_cleanse() to help cleanse memory and avoid certain compiler
and linker optimizations.
PR: 343
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r-- | crypto/crypto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index d1d2400d87..4027b4306c 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -454,6 +454,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); |