diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-06 11:12:12 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-13 08:59:03 +0100 |
commit | 6457615ac82d688a965c9b2cce9611e0559635be (patch) | |
tree | 4d82a1620d74f255b1b01840bce706531766a464 /include/openssl/err.h | |
parent | 20c56358e6f278d6a469a92280d7a38be44dbe3e (diff) | |
download | openssl-6457615ac82d688a965c9b2cce9611e0559635be.tar.gz |
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/err.h')
-rw-r--r-- | include/openssl/err.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h index deb2fe246e..ccf2ff72de 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h @@ -356,7 +356,7 @@ void ERR_load_ERR_strings(void); #if OPENSSL_API_COMPAT < 0x10100000L # define ERR_load_crypto_strings() \ OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL) -# define ERR_free_strings() +# define ERR_free_strings() while(0) continue #endif void ERR_remove_thread_state(void); |