[BACK]Return to skeyinit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / skeyinit

Diff for /src/usr.bin/skeyinit/skeyinit.c between version 1.55 and 1.56

version 1.55, 2014/05/20 01:25:23 version 1.56, 2015/01/16 06:40:11
Line 12 
Line 12 
  * S/Key initialization and seed update   * S/Key initialization and seed update
  */   */
   
 #include <sys/param.h>  
 #include <sys/file.h>  #include <sys/file.h>
 #include <sys/resource.h>  #include <sys/resource.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 29 
Line 28 
 #include <syslog.h>  #include <syslog.h>
 #include <time.h>  #include <time.h>
 #include <unistd.h>  #include <unistd.h>
   #include <limits.h>
 #include <utmp.h>  #include <utmp.h>
   
 #include <skey.h>  #include <skey.h>
Line 48 
Line 48 
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         int     rval, i, l, n, defaultsetup, rmkey, hexmode, enable, convert;          int     rval, i, l, n, defaultsetup, rmkey, hexmode, enable, convert;
         char    hostname[MAXHOSTNAMELEN];          char    hostname[HOST_NAME_MAX+1];
         char    seed[SKEY_MAX_SEED_LEN + 1];          char    seed[SKEY_MAX_SEED_LEN + 1];
         char    buf[256], key[SKEY_BINKEY_SIZE], filename[PATH_MAX], *ht;          char    buf[256], key[SKEY_BINKEY_SIZE], filename[PATH_MAX], *ht;
         char    lastc, me[UT_NAMESIZE + 1], *p, *auth_type;          char    lastc, me[UT_NAMESIZE + 1], *p, *auth_type;

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56