-/* $OpenBSD: x509_issuer_cache.c,v 1.4 2022/12/26 07:18:53 jmc Exp $ */
+/* $OpenBSD: x509_issuer_cache.c,v 1.5 2023/12/30 18:06:59 tb Exp $ */
/*
* Copyright (c) 2020 Bob Beck <beck@openbsd.org>
*
* Free the entire issuer cache, discarding all entries.
*/
void
-x509_issuer_cache_free()
+x509_issuer_cache_free(void)
{
if (pthread_mutex_lock(&x509_issuer_tree_mutex) != 0)
return;
-/* $OpenBSD: x509_issuer_cache.h,v 1.2 2022/09/03 17:47:47 jsing Exp $ */
+/* $OpenBSD: x509_issuer_cache.h,v 1.3 2023/12/30 18:06:59 tb Exp $ */
/*
* Copyright (c) 2020 Bob Beck <beck@openbsd.org>
*
int x509_issuer_cache_find(unsigned char *parent_md, unsigned char *child_md);
void x509_issuer_cache_add(unsigned char *parent_md, unsigned char *child_md,
int valid);
-void x509_issuer_cache_free();
+void x509_issuer_cache_free(void);
__END_HIDDEN_DECLS