--- ./session/tls_suites.c.orig	2023-11-28 02:24:52.000000000 -0500
+++ ./session/tls_suites.c	2024-10-31 00:50:21.994515000 -0400
@@ -418,12 +418,12 @@
 
 	/* ECC suites if these are preferred */
 #ifdef PREFER_ECC
-  #ifdef USE_GCM
-	{ cipherSuiteGCM, FAILSAFE_ARRAYSIZE( cipherSuiteGCM, CIPHERSUITE_INFO ) },
-  #endif /* USE_GCM */
   #if defined( USE_ECDH )
 	{ cipherSuiteECC, FAILSAFE_ARRAYSIZE( cipherSuiteECC, CIPHERSUITE_INFO ) },
   #endif /* USE_ECDH */
+  #ifdef USE_GCM
+	{ cipherSuiteGCM, FAILSAFE_ARRAYSIZE( cipherSuiteGCM, CIPHERSUITE_INFO ) },
+  #endif /* USE_GCM */
   #ifdef USE_CHACHA20
 	{ cipherSuiteBernstein, FAILSAFE_ARRAYSIZE( cipherSuiteBernstein, CIPHERSUITE_INFO ) },
   #endif /* USE_CHACH20 */
