mirror of https://github.com/getdnsapi/getdns.git
Rename TLS Interface DANE init to pinset init. That's what it's actually used for.
This commit is contained in:
parent
1acd880f26
commit
ff7ffc246c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue