diff options
author | tb <> | 2023-04-16 12:05:31 +0000 |
---|---|---|
committer | tb <> | 2023-04-16 12:05:31 +0000 |
commit | 2d8aa2058ade1fc1d23e7fb9ac27d0575cf1d555 (patch) | |
tree | 044a4961482056f7926ae3f3441415d6a3dfec3a /src/lib | |
parent | 76a134d8262ec9972672398a020552853e46ac9d (diff) | |
download | openbsd-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.c | 6 |
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 | ||
171 | static int ext_cmp_BSEARCH_CMP_FN(const void *, const void *); | ||
172 | static int ext_cmp(const X509V3_EXT_METHOD * const *, const X509V3_EXT_METHOD * const *); | ||
173 | static const X509V3_EXT_METHOD * *OBJ_bsearch_ext(const X509V3_EXT_METHOD * *key, const X509V3_EXT_METHOD * const *base, int num); | ||
174 | |||
175 | static int | 171 | static int |
176 | ext_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) | 172 | ext_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) |
177 | { | 173 | { |