提交 34750dc2 编写于 作者: B Ben Laurie

Only define PAGE_SIZE if not already defined.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 e1e088ec
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
#define LOCK() CRYPTO_w_lock(CRYPTO_LOCK_MALLOC) #define LOCK() CRYPTO_w_lock(CRYPTO_LOCK_MALLOC)
#define UNLOCK() CRYPTO_w_unlock(CRYPTO_LOCK_MALLOC) #define UNLOCK() CRYPTO_w_unlock(CRYPTO_LOCK_MALLOC)
#define CLEAR(p, s) OPENSSL_cleanse(p, s) #define CLEAR(p, s) OPENSSL_cleanse(p, s)
#define PAGE_SIZE 4096 #ifndef PAGE_SIZE
# define PAGE_SIZE 4096
#endif
#ifdef IMPLEMENTED #ifdef IMPLEMENTED
size_t secure_mem_used; size_t secure_mem_used;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册