mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
conf: add certset option to NTP sources
Allow the set of trusted certificates to be selected for each NTP source individually.
This commit is contained in:
@@ -571,7 +571,7 @@ NCR_CreateInstance(NTP_Remote_Address *remote_addr, NTP_Source_Type type,
|
||||
nts_address.ip_addr = remote_addr->ip_addr;
|
||||
nts_address.port = params->nts_port;
|
||||
|
||||
result->auth = NAU_CreateNtsInstance(&nts_address, name, 0,
|
||||
result->auth = NAU_CreateNtsInstance(&nts_address, name, params->cert_set,
|
||||
result->remote_addr.port);
|
||||
} else if (params->authkey != INACTIVE_AUTHKEY) {
|
||||
result->auth = NAU_CreateSymmetricInstance(params->authkey);
|
||||
|
||||
Reference in New Issue
Block a user