From 79db80bd043119452e46dfc2121502d11b5d270f Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Tue, 14 Feb 2012 19:47:00 +0100 Subject: [PATCH] unbreak AES by adding the lost negation for the compat flag back --- ssh/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/compat.c b/ssh/compat.c index 02f3f84..0126d00 100644 --- a/ssh/compat.c +++ b/ssh/compat.c @@ -208,7 +208,7 @@ compat_cipher_proposal(char *cipher_prop, u_int compat) char *orig_prop, *fix_ciphers, *cp, *tmp; size_t maxlen; - if (compat & SSH_BUG_BIGENDIANAES) + if (!(compat & SSH_BUG_BIGENDIANAES)) return cipher_prop; tmp = orig_prop = strdup(cipher_prop);