Rename TLS Interface DANE init to pinset init. That's what it's actually used for.

This commit is contained in:
Jim Hague 2018-12-11 12:46:05 +00:00
parent 1acd880f26
commit ff7ffc246c
4 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}

View File

@ -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;
}

View File

@ -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 =

View File

@ -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.