From 79121ff45030480fb7b62ea1dab757e45dcecbb3 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 30 Dec 2023 18:26:13 +0000 Subject: [PATCH] Make x509_issuer_cache_free_oldest() static This is an internal function and you can't hold the required mutex to call it anyway since that's internal, too. --- lib/libcrypto/x509/x509_issuer_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/x509/x509_issuer_cache.c b/lib/libcrypto/x509/x509_issuer_cache.c index 0251cac2857..070e85b0a91 100644 --- a/lib/libcrypto/x509/x509_issuer_cache.c +++ b/lib/libcrypto/x509/x509_issuer_cache.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_issuer_cache.c,v 1.6 2023/12/30 18:22:52 tb Exp $ */ +/* $OpenBSD: x509_issuer_cache.c,v 1.7 2023/12/30 18:26:13 tb Exp $ */ /* * Copyright (c) 2020 Bob Beck * @@ -78,7 +78,7 @@ x509_issuer_cache_set_max(size_t max) * if an entry was successfully freed, 0 otherwise. Must * be called with x509_issuer_tree_mutex held. */ -void +static void x509_issuer_cache_free_oldest(void) { struct x509_issuer *old; -- 2.20.1