Fix explicit de-init macros
[oweals/openssl.git] / include / openssl / objects.h
index 165817fb1a30444f0c7df8665d41adda860cd1c3..79e1d3dfa3a61c0906328620310f41fc2974e8dd 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/objects/objects.h */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -1104,7 +1103,9 @@ const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
 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);
-void OBJ_cleanup(void);
+#if OPENSSL_API_COMPAT < 0x10100000L
+# define OBJ_cleanup() while(0) continue
+#endif
 int OBJ_create_objects(BIO *in);
 
 size_t OBJ_length(const ASN1_OBJECT *obj);