]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - settings.c
Decide on a position for ChaCha20-Poly1305.
[PuTTY.git] / settings.c
index b15839fa153f45fde8391e41b2ca90a2f51d5d74..b6146960e474028605a033587752428b520e3ff8 100644 (file)
@@ -10,8 +10,8 @@
 
 /* The cipher order given here is the default order. */
 static const struct keyvalwhere ciphernames[] = {
-    { "chacha20",   CIPHER_CHACHA20,        -1, -1 },
     { "aes",        CIPHER_AES,             -1, -1 },
+    { "chacha20",   CIPHER_CHACHA20,        CIPHER_AES, +1 },
     { "blowfish",   CIPHER_BLOWFISH,        -1, -1 },
     { "3des",       CIPHER_3DES,            -1, -1 },
     { "WARN",       CIPHER_WARN,            -1, -1 },