X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/16efd15b675c87d22a4fd9fb12d7bb26f2a36031..578a86d91941a0f722b87973d88e84ec2cf9a608:/mkphrase.c diff --git a/mkphrase.c b/mkphrase.c index 2d1ea1b..3954418 100644 --- a/mkphrase.c +++ b/mkphrase.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mkphrase.c,v 1.2 2000/12/06 20:33:27 mdw Exp $ + * $Id: mkphrase.c,v 1.4 2004/04/08 01:36:15 mdw Exp $ * * Generate passphrases from word lists * @@ -27,19 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: mkphrase.c,v $ - * Revision 1.2 2000/12/06 20:33:27 mdw - * Make flags be macros rather than enumerations, to ensure that they're - * unsigned. - * - * Revision 1.1 2000/08/06 10:50:55 mdw - * (mkphrase): New program for generating random passphrases with measured - * strength. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "config.h" @@ -420,7 +407,7 @@ int main(int argc, char *argv[]) ctx = ops->init(); while (*argv) { if (strcmp(*argv, "-") == 0) - ops->scan(ctx, stdin); + ops->scan(stdin, ctx); else { FILE *fp = fopen(*argv, "r"); if (!fp) {