diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509_lu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c index 8ea1d158bf..0367794fca 100644 --- a/src/lib/libcrypto/x509/x509_lu.c +++ b/src/lib/libcrypto/x509/x509_lu.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lu.c,v 1.66 2024/08/31 10:19:17 tb Exp $ */ | 1 | /* $OpenBSD: x509_lu.c,v 1.67 2025/03/09 15:20:20 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 | * |
@@ -66,6 +66,8 @@ | |||
66 | 66 | ||
67 | #include "x509_local.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | static int X509_OBJECT_up_ref_count(X509_OBJECT *a); | ||
70 | |||
69 | static X509_LOOKUP * | 71 | static X509_LOOKUP * |
70 | X509_LOOKUP_new(const X509_LOOKUP_METHOD *method) | 72 | X509_LOOKUP_new(const X509_LOOKUP_METHOD *method) |
71 | { | 73 | { |
@@ -404,7 +406,7 @@ X509_STORE_add_crl(X509_STORE *store, X509_CRL *x) | |||
404 | } | 406 | } |
405 | LCRYPTO_ALIAS(X509_STORE_add_crl); | 407 | LCRYPTO_ALIAS(X509_STORE_add_crl); |
406 | 408 | ||
407 | int | 409 | static int |
408 | X509_OBJECT_up_ref_count(X509_OBJECT *a) | 410 | X509_OBJECT_up_ref_count(X509_OBJECT *a) |
409 | { | 411 | { |
410 | switch (a->type) { | 412 | switch (a->type) { |
@@ -415,7 +417,6 @@ X509_OBJECT_up_ref_count(X509_OBJECT *a) | |||
415 | } | 417 | } |
416 | return 1; | 418 | return 1; |
417 | } | 419 | } |
418 | LCRYPTO_ALIAS(X509_OBJECT_up_ref_count); | ||
419 | 420 | ||
420 | X509_LOOKUP_TYPE | 421 | X509_LOOKUP_TYPE |
421 | X509_OBJECT_get_type(const X509_OBJECT *a) | 422 | X509_OBJECT_get_type(const X509_OBJECT *a) |