From: Arran Cudbard-Bell Date: Thu, 22 Jun 2023 03:36:08 +0000 (-0400) Subject: tls: Mark cache mode function as static X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c352a3079eccc0baec4719317633fe12d7c7b8d0;p=thirdparty%2Ffreeradius-server.git tls: Mark cache mode function as static --- diff --git a/src/lib/tls/conf.c b/src/lib/tls/conf.c index a19bc36dd49..c8a5178fd40 100644 --- a/src/lib/tls/conf.c +++ b/src/lib/tls/conf.c @@ -44,7 +44,7 @@ USES_APPLE_DEPRECATED_API /* OpenSSL API has been deprecated by Apple */ #include "base.h" #include "log.h" -int tls_conf_parse_cache_mode(TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, CONF_PARSER const *rule); +static int tls_conf_parse_cache_mode(TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, CONF_PARSER const *rule); /** Certificate formats * @@ -248,7 +248,7 @@ CONF_PARSER fr_tls_client_config[] = { */ static char const *special_string = "Apple:UsecertAdmin"; -int tls_conf_parse_cache_mode(TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, CONF_PARSER const *rule) +static int tls_conf_parse_cache_mode(TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM *ci, CONF_PARSER const *rule) { fr_tls_conf_t *conf = talloc_get_type_abort(parent, fr_tls_conf_t); int cache_mode;