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

Diff for /src/usr.bin/bdes/Attic/bdes.c between version 1.8 and 1.9

version 1.8, 2002/07/03 23:13:02 version 1.9, 2003/03/31 20:46:03
Line 194 
Line 194 
         int i;                          /* counter in a for loop */          int i;                          /* counter in a for loop */
         char *p;                        /* used to obtain the key */          char *p;                        /* used to obtain the key */
         Desbuf msgbuf;                  /* I/O buffer */          Desbuf msgbuf;                  /* I/O buffer */
         int kflag;                      /* command-line encryptiooon key */          int kflag;                      /* command-line encryption key */
         int argc;                       /* the real arg count */          int argc;                       /* the real arg count */
         char **argv;                    /* the real argument vector */          char **argv;                    /* the real argument vector */
   
Line 213 
Line 213 
         }          }
         argv[argc] = NULL;          argv[argc] = NULL;
   
         /* initialize the initialization vctor */          /* initialize the initialization vector */
         MEMZERO(ivec, 8);          MEMZERO(ivec, 8);
   
         /* process the argument list */          /* process the argument list */
Line 404 
Line 404 
          * just switch on the key base           * just switch on the key base
          */           */
         switch(keybase) {          switch(keybase) {
         case KEY_ASCII:                 /* ascii to integer */          case KEY_ASCII:                 /* ASCII to integer */
                 (void)strncpy(obuf, ibuf, 8);                  (void)strncpy(obuf, ibuf, 8);
                 return;                  return;
         case KEY_DEFAULT:               /* tell from context */          case KEY_DEFAULT:               /* tell from context */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9