mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-09 19:17:19 -03:00
move this there
This commit is contained in:
parent
90fe9f35d1
commit
1679e51e1b
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -571,10 +571,10 @@ int main(int argc,char **argv)
|
||||||
|
|
||||||
#ifdef PASSPHRASE
|
#ifdef PASSPHRASE
|
||||||
if (deterministic) {
|
if (deterministic) {
|
||||||
memcpy(orig_determseed,determseed,sizeof(determseed));
|
|
||||||
if (!quietflag && numneedgenerate != 1)
|
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");
|
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) {
|
if (checkpointfile) {
|
||||||
|
memcpy(orig_determseed,determseed,sizeof(determseed));
|
||||||
// Read current checkpoint position if file exists
|
// Read current checkpoint position if file exists
|
||||||
FILE *checkout = fopen(checkpointfile,"r");
|
FILE *checkout = fopen(checkpointfile,"r");
|
||||||
if (checkout) {
|
if (checkout) {
|
||||||
|
|
Loading…
Reference in a new issue