version 1.28, 2000/11/12 19:50:38 |
version 1.29, 2000/11/23 21:03:47 |
|
|
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] = |