cmdmon: save NTS cookies and server keys on dump command

Extend the dump command to save also the server NTS keys and client NTS
cookies. Remove the warning for unset dumpdir.
This commit is contained in:
Miroslav Lichvar
2020-04-15 10:12:55 +02:00
parent 0b2e77ae64
commit d690faeb19
14 changed files with 82 additions and 3 deletions

View File

@@ -33,6 +33,9 @@
extern void NKS_Initialise(int scfilter_level);
extern void NKS_Finalise(void);
/* Save the current server keys */
extern void NKS_DumpKeys(void);
/* Generate an NTS cookie with a given context */
extern int NKS_GenerateCookie(NKE_Context *context, NKE_Cookie *cookie);