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

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.2 and 1.3

version 1.2, 2000/05/04 22:38:00 version 1.3, 2000/05/08 17:12:16
Line 832 
Line 832 
         RSA_free(public_key);          RSA_free(public_key);
         RSA_free(host_key);          RSA_free(host_key);
   
         if (options.cipher == SSH_CIPHER_NOT_SET) {          if (options.cipher == SSH_CIPHER_ILLEGAL) {
                   log("No valid SSH1 cipher, using %.100s instead.",
                       cipher_name(SSH_FALLBACK_CIPHER));
                   options.cipher = SSH_FALLBACK_CIPHER;
           } else if (options.cipher == SSH_CIPHER_NOT_SET) {
                 if (cipher_mask1() & supported_ciphers & (1 << ssh_cipher_default))                  if (cipher_mask1() & supported_ciphers & (1 << ssh_cipher_default))
                         options.cipher = ssh_cipher_default;                          options.cipher = ssh_cipher_default;
                 else {                  else {
                         debug("Cipher %s not supported, using %.100s instead.",                          debug("Cipher %s not supported, using %.100s instead.",
                               cipher_name(ssh_cipher_default),                              cipher_name(ssh_cipher_default),
                               cipher_name(SSH_FALLBACK_CIPHER));                              cipher_name(SSH_FALLBACK_CIPHER));
                         options.cipher = SSH_FALLBACK_CIPHER;                          options.cipher = SSH_FALLBACK_CIPHER;
                 }                  }
         }          }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3