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

Diff for /src/usr.bin/skey/skey.c between version 1.31 and 1.32

version 1.31, 2015/10/09 21:59:34 version 1.32, 2015/10/12 14:33:13
Line 43 
Line 43 
         char    buf[33], *seed, *slash, *algo;          char    buf[33], *seed, *slash, *algo;
         const char *errstr;          const char *errstr;
   
           if (pledge("stdio wpath tty", NULL) == -1)
                   err(1, "pledge");
   
         /* If we were called as otp-METHOD, set algorithm based on that */          /* If we were called as otp-METHOD, set algorithm based on that */
         if (strncmp(__progname, "otp-", 4) == 0) {          if (strncmp(__progname, "otp-", 4) == 0) {
                 algo = __progname + 4;                  algo = __progname + 4;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32