summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_lu.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509_lu.c7
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
69static int X509_OBJECT_up_ref_count(X509_OBJECT *a);
70
69static X509_LOOKUP * 71static X509_LOOKUP *
70X509_LOOKUP_new(const X509_LOOKUP_METHOD *method) 72X509_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}
405LCRYPTO_ALIAS(X509_STORE_add_crl); 407LCRYPTO_ALIAS(X509_STORE_add_crl);
406 408
407int 409static int
408X509_OBJECT_up_ref_count(X509_OBJECT *a) 410X509_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}
418LCRYPTO_ALIAS(X509_OBJECT_up_ref_count);
419 420
420X509_LOOKUP_TYPE 421X509_LOOKUP_TYPE
421X509_OBJECT_get_type(const X509_OBJECT *a) 422X509_OBJECT_get_type(const X509_OBJECT *a)