mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 19:15:07 -05:00
nts: improve NTS-KE server/client code
Add more assertions and comments, refactor initialization of the helper, and make other changes to make the code more robust.
This commit is contained in:
@@ -154,7 +154,8 @@ test_unit(void)
|
||||
SCH_Initialise();
|
||||
|
||||
unlink("ntskeys");
|
||||
NKS_Initialise(0);
|
||||
NKS_PreInitialise(0, 0, 0);
|
||||
NKS_Initialise();
|
||||
|
||||
session = NKSN_CreateInstance(1, NULL, handle_message, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user