summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-04-16 12:05:31 +0000
committertb <>2023-04-16 12:05:31 +0000
commit2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555 (patch)
tree044a4961482056f7926ae3f3441415d6a3dfec3a /src/lib
parent76a134d8262ec9972672398a020552853e46ac9d (diff)
downloadopenbsd-2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555.tar.gz
openbsd-2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555.tar.bz2
openbsd-2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555.zip
Remove unnecessary prototypes in the middle of the code
In addition, ext_cmp() was already prototyped earlier...
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_lib.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c
index 3baea2bd7a..57b2b2cb42 100644
--- a/src/lib/libcrypto/x509/x509_lib.c
+++ b/src/lib/libcrypto/x509/x509_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lib.c,v 1.10 2023/04/16 12:01:15 tb Exp $ */ 1/* $OpenBSD: x509_lib.c,v 1.11 2023/04/16 12:05:31 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -168,10 +168,6 @@ ext_cmp(const X509V3_EXT_METHOD * const *a, const X509V3_EXT_METHOD * const *b)
168 return ((*a)->ext_nid - (*b)->ext_nid); 168 return ((*a)->ext_nid - (*b)->ext_nid);
169} 169}
170 170
171static int ext_cmp_BSEARCH_CMP_FN(const void *, const void *);
172static int ext_cmp(const X509V3_EXT_METHOD * const *, const X509V3_EXT_METHOD * const *);
173static const X509V3_EXT_METHOD * *OBJ_bsearch_ext(const X509V3_EXT_METHOD * *key, const X509V3_EXT_METHOD * const *base, int num);
174
175static int 171static int
176ext_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) 172ext_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)
177{ 173{