head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2001.04.09.11.09.33;	author roam;	state dead;
branches;
next	1.1;

1.1
date	2001.01.20.00.13.18;	author roam;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 1.2.13, fix a fennerism along the way ;)
@
text
@--- apg.c	2001/01/17 09:01:19	1.1.1.3
+++ apg.c	2001/01/15 11:33:01	1.2
@@@@ -342,9 +342,10 @@@@
  char * seq;
  UINT32 prom = 0L;
  
- printf ("\nPlease enter some random data (only first 4 are significant)\n");
+ printf ("\nPlease enter some random data (only the first %d characters "
+  "are significant)\n", sizeof(prom));
  seq = (char *)getpass("(eg. your old password):>");
- if (strlen(seq) < 4)
+ if (strlen(seq) < sizeof(prom))
   bcopy((void *)seq, (void *)&prom, (int)strlen(seq));
  else
   bcopy((void *)seq, (void *)&prom, sizeof(prom));
@


1.1
log
@apg is an automated generator for pronounceable passwords.
@
text
@@

