src/keymaker.c
/************************************************************************/
/*									*/
/*			w r i t e r e s u l t s				*/
/*									*/
/*	Prints the newly-generated key, along with identifying info	*/
/*									*/
/************************************************************************/
w r i t e r e s u l t s

Prints the newly-generated key, along with identifying info
w r i t e r e s u l t s Prints the newly - generated key along with identifying info
void writeresults(FILE *fp, char *host, char *expdate,
		  unsigned long key1, unsigned long key2, unsigned long key3,
		  char *info) {
  fprintf(fp, "Host ID: %-14s Expiration: %-9s", host, expdate);
  fprintf(fp, " Key: %8lx %8lx %8lx", key1, key2, key3);
  fprintf(fp, " Doc: %s\n", info);
}
void writeresults ( FILE * fp , char * host , char * expdate , unsigned long key1 , unsigned long key2 , unsigned long key3 , char * info ) { fprintf ( fp , " " , host , expdate ) ; fprintf ( fp , " " , key1 , key2 , key3 ) ; fprintf ( fp , " \n " , info ) ; }
w r i t e r e s u l t s
w r i t e r e s u l t s