diff --git a/src/context.c b/src/context.c index 6e919114..5c40f2e3 100644 --- a/src/context.c +++ b/src/context.c @@ -3566,7 +3566,7 @@ _getdns_context_prepare_for_resolution(getdns_context *context) if (context->tls_auth_min == GETDNS_AUTHENTICATION_REQUIRED) return GETDNS_RETURN_BAD_CONTEXT; } - _getdns_tls_context_dane_init(context->tls_ctx); + _getdns_tls_context_pinset_init(context->tls_ctx); } } diff --git a/src/gnutls/tls.c b/src/gnutls/tls.c index a60dcddf..f0555289 100644 --- a/src/gnutls/tls.c +++ b/src/gnutls/tls.c @@ -180,7 +180,7 @@ getdns_return_t _getdns_tls_context_free(struct mem_funcs* mfs, _getdns_tls_cont return GETDNS_RETURN_GOOD; } -void _getdns_tls_context_dane_init(_getdns_tls_context* ctx) +void _getdns_tls_context_pinset_init(_getdns_tls_context* ctx) { (void) ctx; } diff --git a/src/openssl/tls.c b/src/openssl/tls.c index 82fa0870..111c15d0 100644 --- a/src/openssl/tls.c +++ b/src/openssl/tls.c @@ -253,7 +253,7 @@ getdns_return_t _getdns_tls_context_free(struct mem_funcs* mfs, _getdns_tls_cont return GETDNS_RETURN_GOOD; } -void _getdns_tls_context_dane_init(_getdns_tls_context* ctx) +void _getdns_tls_context_pinset_init(_getdns_tls_context* ctx) { # if defined(STUB_DEBUG) && STUB_DEBUG int osr = diff --git a/src/tls.h b/src/tls.h index e58d4ce3..4f65bf64 100644 --- a/src/tls.h +++ b/src/tls.h @@ -73,11 +73,11 @@ _getdns_tls_context* _getdns_tls_context_new(struct mem_funcs* mfs); getdns_return_t _getdns_tls_context_free(struct mem_funcs* mfs, _getdns_tls_context* ctx); /** - * Initialise any shared state for DANE checking. + * Initialise any shared state for pinset checking. * * @param ctx the context to initialise. */ -void _getdns_tls_context_dane_init(_getdns_tls_context* ctx); +void _getdns_tls_context_pinset_init(_getdns_tls_context* ctx); /** * Set TLS 1.2 as minimum TLS version.