summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/objects/obj_lib.c')
-rw-r--r--src/lib/libcrypto/objects/obj_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/objects/obj_lib.c b/src/lib/libcrypto/objects/obj_lib.c
index eb06adfb92..83575c16c9 100644
--- a/src/lib/libcrypto/objects/obj_lib.c
+++ b/src/lib/libcrypto/objects/obj_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_lib.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ 1/* $OpenBSD: obj_lib.c,v 1.18 2023/07/08 12:27:51 beck 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 *
@@ -119,6 +119,7 @@ OBJ_dup(const ASN1_OBJECT *o)
119 free(r); 119 free(r);
120 return (NULL); 120 return (NULL);
121} 121}
122LCRYPTO_ALIAS(OBJ_dup);
122 123
123int 124int
124OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) 125OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b)
@@ -130,3 +131,4 @@ OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b)
130 return (ret); 131 return (ret);
131 return (memcmp(a->data, b->data, a->length)); 132 return (memcmp(a->data, b->data, a->length));
132} 133}
134LCRYPTO_ALIAS(OBJ_cmp);