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

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.28 and 1.29

version 1.28, 2000/11/12 19:50:38 version 1.29, 2000/11/23 21:03:47
Line 74 
Line 74 
         Buffer *client_kexinit, *server_kexinit;          Buffer *client_kexinit, *server_kexinit;
         char *sprop[PROPOSAL_MAX];          char *sprop[PROPOSAL_MAX];
   
         if (options.ciphers == NULL) {          if (options.ciphers == (char *)-1) {
                 if (options.cipher == SSH_CIPHER_3DES) {                  log("No valid ciphers for protocol version 2 given, using defaults.");
                         options.ciphers = "3des-cbc";                  options.ciphers = NULL;
                 } else if (options.cipher == SSH_CIPHER_BLOWFISH) {  
                         options.ciphers = "blowfish-cbc";  
                 } else if (options.cipher == SSH_CIPHER_DES) {  
                         fatal("cipher DES not supported for protocol version 2");  
                 }  
         }          }
         if (options.ciphers != NULL) {          if (options.ciphers != NULL) {
                 myproposal[PROPOSAL_ENC_ALGS_CTOS] =                  myproposal[PROPOSAL_ENC_ALGS_CTOS] =

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29