summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
authortb <>2025-03-09 15:20:20 +0000
committertb <>2025-03-09 15:20:20 +0000
commitdf2dd802bcb8b62379c01acc34b4d5a3ecd36b5b (patch)
tree6211c10e590ea0a50bf0271a5c907a1ca47045cb /src/lib/libcrypto/x509/x509_vfy.h
parent02325d3f08b84c968c0a9d0980ccca4efca3c676 (diff)
downloadopenbsd-df2dd802bcb8b62379c01acc34b4d5a3ecd36b5b.tar.gz
openbsd-df2dd802bcb8b62379c01acc34b4d5a3ecd36b5b.tar.bz2
openbsd-df2dd802bcb8b62379c01acc34b4d5a3ecd36b5b.zip
Unexport the weird X509_OBJECT_up_ref_count()
It's only used in x509_lu.c, so move it there. X509_OBJECT is not itself refcounted. This API bumps the refcount of its cert or CRL member. This isn't really useful outside of the library. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index 43b94021b5..7058bbc5b0 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.69 2024/08/31 10:19:17 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.70 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 *
@@ -280,7 +280,6 @@ int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
280X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h, 280X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h,
281 X509_LOOKUP_TYPE type, X509_NAME *name); 281 X509_LOOKUP_TYPE type, X509_NAME *name);
282X509_OBJECT *X509_OBJECT_retrieve_match(STACK_OF(X509_OBJECT) *h, X509_OBJECT *x); 282X509_OBJECT *X509_OBJECT_retrieve_match(STACK_OF(X509_OBJECT) *h, X509_OBJECT *x);
283int X509_OBJECT_up_ref_count(X509_OBJECT *a);
284X509_LOOKUP_TYPE X509_OBJECT_get_type(const X509_OBJECT *a); 283X509_LOOKUP_TYPE X509_OBJECT_get_type(const X509_OBJECT *a);
285X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo); 284X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo);
286X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *xo); 285X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *xo);