aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/crypto.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-06 11:12:12 +0100
committerMatt Caswell <matt@openssl.org>2016-04-13 08:59:03 +0100
commit6457615ac82d688a965c9b2cce9611e0559635be (patch)
tree4d82a1620d74f255b1b01840bce706531766a464 /include/openssl/crypto.h
parent20c56358e6f278d6a469a92280d7a38be44dbe3e (diff)
downloadopenssl-6457615ac82d688a965c9b2cce9611e0559635be.zip
openssl-6457615ac82d688a965c9b2cce9611e0559635be.tar.gz
openssl-6457615ac82d688a965c9b2cce9611e0559635be.tar.bz2
Fix explicit de-init macros
The no-op de-init macros may fail because of extraneous ";", so we use a slightly different construct instead. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/crypto.h')
-rw-r--r--include/openssl/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index d0ec86a..32b8843 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -303,7 +303,7 @@ void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
* This function cleans up all "ex_data" state. It mustn't be called under
* potential race-conditions.
*/
-# define CRYPTO_cleanup_all_ex_data()
+# define CRYPTO_cleanup_all_ex_data() while(0) continue
/*
* The old locking functions have been removed completely without compatibility