move this there

This commit is contained in:
cathugger 2021-12-08 20:24:55 +00:00
parent 90fe9f35d1
commit 1679e51e1b
No known key found for this signature in database
GPG Key ID: 9BADDA2DAF6F01A8

2
main.c
View File

@ -571,10 +571,10 @@ int main(int argc,char **argv)
#ifdef PASSPHRASE
if (deterministic) {
memcpy(orig_determseed,determseed,sizeof(determseed));
if (!quietflag && numneedgenerate != 1)
fprintf(stderr,"CAUTION: avoid using keys generated with same password for unrelated services, as single leaked key may help attacker to regenerate related keys.\n");
if (checkpointfile) {
memcpy(orig_determseed,determseed,sizeof(determseed));
// Read current checkpoint position if file exists
FILE *checkout = fopen(checkpointfile,"r");
if (checkout) {