]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/objects.h
Fix explicit de-init macros
[thirdparty/openssl.git] / include / openssl / objects.h
index 7766f3a32f8057f3e782868dacc8edaa9f4039b0..79e1d3dfa3a61c0906328620310f41fc2974e8dd 100644 (file)
 #  define NID_ripemd160WithRSA            119
 #  define OBJ_ripemd160WithRSA            1L,3L,36L,3L,3L,1L,2L
 
-#  define SN_blake2b                      "BLAKE2b"
-#  define LN_blake2b                      "blake2b"
-#  define NID_blake2b                     1022
-#  define OBJ_blake2b                     1,3,6,1,4,1,1722,12,2,1,16
-
-#  define SN_blake2s                      "BLAKE2s"
-#  define LN_blake2s                      "blake2"
-#  define NID_blake2s                     1023
-#  define OBJ_blake2s                     1,3,6,1,4,1,1722,12,2,2,8
-
 /*-
  * Taken from rfc2040
  *  RC5_CBC_Parameters ::= SEQUENCE {
@@ -1113,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);