]> andersk Git - gssapi-openssh.git/blobdiff - openssh/sshd.c
Initial revision
[gssapi-openssh.git] / openssh / sshd.c
index 8077c975ed495e0bae8c0425c550fac54dd3ab50..7f09723f169dd5bb7ded774bb3f1c7c1cfd828e3 100644 (file)
@@ -2075,6 +2075,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.031963 seconds and 4 git commands to generate.