Commit 34750dc2 authored by Ben Laurie's avatar Ben Laurie
Browse files

Only define PAGE_SIZE if not already defined.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent e1e088ec
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@
#define LOCK()      CRYPTO_w_lock(CRYPTO_LOCK_MALLOC)
#define UNLOCK()    CRYPTO_w_unlock(CRYPTO_LOCK_MALLOC)
#define CLEAR(p, s) OPENSSL_cleanse(p, s)
#ifndef PAGE_SIZE
# define PAGE_SIZE    4096
#endif

#ifdef IMPLEMENTED
size_t secure_mem_used;