summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r--src/lib/libcrypto/objects/obj_dat.c5
-rw-r--r--src/lib/libcrypto/objects/objects.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c
index bfa9ba3cc8..626036264f 100644
--- a/src/lib/libcrypto/objects/obj_dat.c
+++ b/src/lib/libcrypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_dat.c,v 1.87 2024/03/02 09:47:16 tb Exp $ */ 1/* $OpenBSD: obj_dat.c,v 1.88 2024/03/02 09:49:45 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -208,7 +208,7 @@ OBJ_new_nid(int num)
208} 208}
209LCRYPTO_ALIAS(OBJ_new_nid); 209LCRYPTO_ALIAS(OBJ_new_nid);
210 210
211int 211static int
212OBJ_add_object(const ASN1_OBJECT *obj) 212OBJ_add_object(const ASN1_OBJECT *obj)
213{ 213{
214 ASN1_OBJECT *o = NULL; 214 ASN1_OBJECT *o = NULL;
@@ -258,7 +258,6 @@ OBJ_add_object(const ASN1_OBJECT *obj)
258 ASN1_OBJECT_free(o); 258 ASN1_OBJECT_free(o);
259 return (NID_undef); 259 return (NID_undef);
260} 260}
261LCRYPTO_ALIAS(OBJ_add_object);
262 261
263ASN1_OBJECT * 262ASN1_OBJECT *
264OBJ_nid2obj(int nid) 263OBJ_nid2obj(int nid)
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h
index ef6fc233bf..ab0c402383 100644
--- a/src/lib/libcrypto/objects/objects.h
+++ b/src/lib/libcrypto/objects/objects.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: objects.h,v 1.26 2024/03/02 09:47:16 tb Exp $ */ 1/* $OpenBSD: objects.h,v 1.27 2024/03/02 09:49:45 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -108,7 +108,6 @@ int OBJ_sn2nid(const char *s);
108int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); 108int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
109 109
110int OBJ_new_nid(int num); 110int OBJ_new_nid(int num);
111int OBJ_add_object(const ASN1_OBJECT *obj);
112int OBJ_create(const char *oid, const char *sn, const char *ln); 111int OBJ_create(const char *oid, const char *sn, const char *ln);
113void OBJ_cleanup(void); 112void OBJ_cleanup(void);
114int OBJ_create_objects(BIO *in); 113int OBJ_create_objects(BIO *in);