diff options
Diffstat (limited to 'src/lib/libcrypto/objects/objects.h')
-rw-r--r-- | src/lib/libcrypto/objects/objects.h | 14 |
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 |
85 | extern "C" { | 81 | extern "C" { |
86 | #endif | 82 | #endif |
@@ -111,14 +107,6 @@ int OBJ_ln2nid(const char *s); | |||
111 | int OBJ_sn2nid(const char *s); | 107 | int OBJ_sn2nid(const char *s); |
112 | int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); | 108 | int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); |
113 | 109 | ||
114 | #if defined(LIBRESSL_INTERNAL) | ||
115 | const void * OBJ_bsearch_(const void *key, const void *base, int num, | ||
116 | int size, int (*cmp)(const void *, const void *)); | ||
117 | const 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 | |||
122 | int OBJ_new_nid(int num); | 110 | int OBJ_new_nid(int num); |
123 | int OBJ_add_object(const ASN1_OBJECT *obj); | 111 | int OBJ_add_object(const ASN1_OBJECT *obj); |
124 | int OBJ_create(const char *oid, const char *sn, const char *ln); | 112 | int OBJ_create(const char *oid, const char *sn, const char *ln); |