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

Diff for /src/usr.bin/ssh/cipher.c between version 1.6 and 1.7

version 1.6, 1999/09/30 05:53:04 version 1.7, 1999/09/30 14:05:41
Line 122 
Line 122 
    int cipher.h. */     int cipher.h. */
 static char *cipher_names[] =  static char *cipher_names[] =
 {  {
   "none",    "no none",
   "no idea",    "no idea",
   "no des",    "no des",
   "3des",    "3des",
Line 138 
Line 138 
 unsigned int cipher_mask()  unsigned int cipher_mask()
 {  {
   unsigned int mask = 0;    unsigned int mask = 0;
   mask |= 1 << SSH_CIPHER_NONE;  
   mask |= 1 << SSH_CIPHER_3DES; /* Mandatory */    mask |= 1 << SSH_CIPHER_3DES; /* Mandatory */
   mask |= 1 << SSH_CIPHER_BLOWFISH;    mask |= 1 << SSH_CIPHER_BLOWFISH;
   return mask;    return mask;
Line 205 
Line 204 
   switch (cipher)    switch (cipher)
     {      {
     case SSH_CIPHER_NONE:      case SSH_CIPHER_NONE:
         /* Has to stay for authfile saving of private key with no passphrase */
       break;        break;
   
     case SSH_CIPHER_3DES:      case SSH_CIPHER_3DES:

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7