mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 09:45:07 -05:00
nts: allow multiple files with trusted certificates
Allow the ntstrustedcerts directive to be specified multiple times.
This commit is contained in:
@@ -179,7 +179,7 @@ test_unit(void)
|
||||
client = NKSN_CreateInstance(0, "test", handle_response, NULL);
|
||||
|
||||
server_cred = NKSN_CreateServerCertCredentials(&cert, &key, 1);
|
||||
client_cred = NKSN_CreateClientCertCredentials(cert);
|
||||
client_cred = NKSN_CreateClientCertCredentials(&cert, 1);
|
||||
|
||||
TEST_CHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, sock_fds) == 0);
|
||||
TEST_CHECK(fcntl(sock_fds[0], F_SETFL, O_NONBLOCK) == 0);
|
||||
|
||||
Reference in New Issue
Block a user