diff options
author | tb <> | 2023-12-30 18:26:13 +0000 |
---|---|---|
committer | tb <> | 2023-12-30 18:26:13 +0000 |
commit | f256ee98e0bdf0f54b6ea7c6454d5d3f3b3b4013 (patch) | |
tree | b928151a8024fc766d310fe466f9e0f91fa796c4 | |
parent | ca0591c9e08838e41bd5477e7c08ab3ef631e7a7 (diff) | |
download | openbsd-f256ee98e0bdf0f54b6ea7c6454d5d3f3b3b4013.tar.gz openbsd-f256ee98e0bdf0f54b6ea7c6454d5d3f3b3b4013.tar.bz2 openbsd-f256ee98e0bdf0f54b6ea7c6454d5d3f3b3b4013.zip |
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.
-rw-r--r-- | src/lib/libcrypto/x509/x509_issuer_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_issuer_cache.c b/src/lib/libcrypto/x509/x509_issuer_cache.c index 0251cac285..070e85b0a9 100644 --- a/src/lib/libcrypto/x509/x509_issuer_cache.c +++ b/src/lib/libcrypto/x509/x509_issuer_cache.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_issuer_cache.c,v 1.6 2023/12/30 18:22:52 tb Exp $ */ | 1 | /* $OpenBSD: x509_issuer_cache.c,v 1.7 2023/12/30 18:26:13 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -78,7 +78,7 @@ x509_issuer_cache_set_max(size_t max) | |||
78 | * if an entry was successfully freed, 0 otherwise. Must | 78 | * if an entry was successfully freed, 0 otherwise. Must |
79 | * be called with x509_issuer_tree_mutex held. | 79 | * be called with x509_issuer_tree_mutex held. |
80 | */ | 80 | */ |
81 | void | 81 | static void |
82 | x509_issuer_cache_free_oldest(void) | 82 | x509_issuer_cache_free_oldest(void) |
83 | { | 83 | { |
84 | struct x509_issuer *old; | 84 | struct x509_issuer *old; |