[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.9 and 1.10

version 1.9, 1999/09/30 18:37:45 version 1.10, 1999/09/30 18:41:24
Line 149 
Line 149 
 const  const
 char *cipher_name(int cipher)  char *cipher_name(int cipher)
 {  {
   if (cipher < 0 || cipher >= sizeof(cipher_names) / sizeof(cipher_names[0]))    if (cipher < 0 || cipher >= sizeof(cipher_names) / sizeof(cipher_names[0]) ||
           cipher_names[cipher] == NULL)
     fatal("cipher_name: bad cipher number: %d", cipher);      fatal("cipher_name: bad cipher number: %d", cipher);
   return cipher_names[cipher];    return cipher_names[cipher];
 }  }

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