From ef75f25be79aa4c52819926fb028e824c209da00 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sat, 28 Mar 2009 18:43:23 +0000
Subject: [PATCH] - Proper sequence of ciphersuites
---
library/ssl_tls.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index def073b86..ecaefb7f9 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -1825,13 +1825,17 @@ int ssl_default_ciphers[] =
#endif
#if defined(POLARSSL_AES_C)
- SSL_RSA_AES_128_SHA,
SSL_RSA_AES_256_SHA,
#endif
#if defined(POLARSSL_CAMELLIA_C)
- SSL_RSA_CAMELLIA_128_SHA,
SSL_RSA_CAMELLIA_256_SHA,
#endif
+#if defined(POLARSSL_AES_C)
+ SSL_RSA_AES_128_SHA,
+#endif
+#if defined(POLARSSL_CAMELLIA_C)
+ SSL_RSA_CAMELLIA_128_SHA,
+#endif
#if defined(POLARSSL_DES_C)
SSL_RSA_DES_168_SHA,
#endif