aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/objects.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/objects.h
parent20c56358e6f278d6a469a92280d7a38be44dbe3e (diff)
downloadopenssl-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/objects.h')
-rw-r--r--include/openssl/objects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/objects.h b/include/openssl/objects.h
index c61e49ea35..79e1d3dfa3 100644
--- a/include/openssl/objects.h
+++ b/include/openssl/objects.h
@@ -1104,7 +1104,7 @@ int OBJ_new_nid(int num);
int OBJ_add_object(const ASN1_OBJECT *obj);
int OBJ_create(const char *oid, const char *sn, const char *ln);
#if OPENSSL_API_COMPAT < 0x10100000L
-# define OBJ_cleanup()
+# define OBJ_cleanup() while(0) continue
#endif
int OBJ_create_objects(BIO *in);