]> andersk Git - gssapi-openssh.git/blobdiff - openssh/sshd.c
openssh-4.3p2-hpn12.diff
[gssapi-openssh.git] / openssh / sshd.c
index 9b5f73f097511768bbbbe72a475ef0aa82c503a8..5a84d9cd550bc0cb5cd40990c0a34d011f37e491 100644 (file)
@@ -2007,6 +2007,10 @@ do_ssh2_kex(void)
        if (options.ciphers != NULL) {
                myproposal[PROPOSAL_ENC_ALGS_CTOS] =
                myproposal[PROPOSAL_ENC_ALGS_STOC] = options.ciphers;
+       } else if (options.none_enabled == 1) {
+               debug ("WARNING: None cipher enabled");
+               myproposal[PROPOSAL_ENC_ALGS_CTOS] =
+               myproposal[PROPOSAL_ENC_ALGS_STOC] = KEX_ENCRYPT_INCLUDE_NONE;
        }
        myproposal[PROPOSAL_ENC_ALGS_CTOS] =
            compat_cipher_proposal(myproposal[PROPOSAL_ENC_ALGS_CTOS]);
This page took 0.042369 seconds and 4 git commands to generate.