summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/objects/objects.h')
-rw-r--r--src/lib/libcrypto/objects/objects.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h
index 2d3aa986d5..ef6fc233bf 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.25 2024/03/02 09:43:10 tb Exp $ */ 1/* $OpenBSD: objects.h,v 1.26 2024/03/02 09:47:16 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 *
@@ -77,10 +77,6 @@
77 77
78#define OBJ_NAME_ALIAS 0x8000 78#define OBJ_NAME_ALIAS 0x8000
79 79
80#define OBJ_BSEARCH_VALUE_ON_NOMATCH 0x01
81#define OBJ_BSEARCH_FIRST_VALUE_ON_MATCH 0x02
82
83
84#ifdef __cplusplus 80#ifdef __cplusplus
85extern "C" { 81extern "C" {
86#endif 82#endif
@@ -111,14 +107,6 @@ int OBJ_ln2nid(const char *s);
111int OBJ_sn2nid(const char *s); 107int OBJ_sn2nid(const char *s);
112int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); 108int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
113 109
114#if defined(LIBRESSL_INTERNAL)
115const void * OBJ_bsearch_(const void *key, const void *base, int num,
116 int size, int (*cmp)(const void *, const void *));
117const void * OBJ_bsearch_ex_(const void *key, const void *base, int num,
118 int size, int (*cmp)(const void *, const void *),
119 int flags);
120#endif
121
122int OBJ_new_nid(int num); 110int OBJ_new_nid(int num);
123int OBJ_add_object(const ASN1_OBJECT *obj); 111int OBJ_add_object(const ASN1_OBJECT *obj);
124int OBJ_create(const char *oid, const char *sn, const char *ln); 112int OBJ_create(const char *oid, const char *sn, const char *ln);