unbreak AES by adding the lost negation for the compat flag back

This commit is contained in:
Markus Friedl
2012-02-14 19:47:00 +01:00
parent aac1adfc7b
commit 79db80bd04

View File

@@ -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);