[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.38 and 1.39

version 1.38, 2015/01/15 17:34:15 version 1.39, 2015/02/24 18:45:51
Line 63 
Line 63 
 {  {
         char buffer[_PASSWORD_LEN];          char buffer[_PASSWORD_LEN];
         const char *pref;          const char *pref;
         char prefbuf[16];          char prefbuf[64];
   
         if (operation == DO_BLF) {          if (operation == DO_BLF) {
                 snprintf(prefbuf, sizeof(prefbuf), "blowfish,%s", extra);                  if (snprintf(prefbuf, sizeof(prefbuf), "blowfish,%s", extra) >=
                       sizeof(prefbuf))
                           errx(1, "pref too long");
                 pref = prefbuf;                  pref = prefbuf;
         } else {          } else {
                 login_cap_t *lc;                  login_cap_t *lc;

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39