From 51d76913f1a058958ce8776994a00272c18062e8 Mon Sep 17 00:00:00 2001 From: scribblemaniac Date: Mon, 14 Mar 2022 19:39:18 -0600 Subject: [PATCH] Fix missing #ifdefs --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 12bd1f3..f90cae2 100644 --- a/main.c +++ b/main.c @@ -480,10 +480,12 @@ int main(int argc,char **argv) exit(1); } +#ifdef PASSPHRASE if (checkpointfile && !deterministic) { fprintf(stderr,"--checkpoint requires passphrase\n"); exit(1); } +#endif if (outfile) { fout = fopen(outfile,!outfileoverwrite ? "a" : "w"); @@ -661,7 +663,7 @@ int main(int argc,char **argv) perror("pthread_attr_destroy"); } -#if PASSPHRASE +#ifdef PASSPHRASE pthread_t checkpoint_thread; if (checkpointfile) {