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

Diff for /src/usr.bin/encrypt/encrypt.c between version 1.49 and 1.50

version 1.49, 2018/08/03 04:47:56 version 1.50, 2019/09/14 17:47:00
Line 95 
Line 95 
         char *extra = NULL;     /* Store login class or number of rounds */          char *extra = NULL;     /* Store login class or number of rounds */
         const char *errstr;          const char *errstr;
   
         if (unveil(_PATH_LOGIN_CONF, "r") == -1)          if (unveil(_PATH_LOGIN_CONF, "r") == -1 ||
               unveil(_PATH_LOGIN_CONF ".db", "r") == -1)
                 err(1, "unveil");                  err(1, "unveil");
         if (pledge("stdio rpath tty", NULL) == -1)          if (pledge("stdio rpath tty", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50