We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8afa3fc commit 93e0f85Copy full SHA for 93e0f85
src/crypt.c
@@ -340,16 +340,17 @@ static const LIBSSH2_CRYPT_METHOD libssh2_crypt_method_3des_cbc = {
340
#endif
341
342
static const LIBSSH2_CRYPT_METHOD *_libssh2_crypt_methods[] = {
343
-#if LIBSSH2_AES_GCM
344
- &libssh2_crypt_method_aes256_gcm,
345
- &libssh2_crypt_method_aes128_gcm,
346
-#endif /* LIBSSH2_AES_GCM */
347
-
348
#if LIBSSH2_AES_CTR
349
&libssh2_crypt_method_aes128_ctr,
350
&libssh2_crypt_method_aes192_ctr,
351
&libssh2_crypt_method_aes256_ctr,
352
#endif /* LIBSSH2_AES */
+
+#if LIBSSH2_AES_GCM
+ &libssh2_crypt_method_aes256_gcm,
+ &libssh2_crypt_method_aes128_gcm,
+#endif /* LIBSSH2_AES_GCM */
353
354
#if LIBSSH2_AES
355
&libssh2_crypt_method_aes256_cbc,
356
&libssh2_crypt_method_rijndael_cbc_lysator_liu_se, /* == aes256-cbc */
0 commit comments