fixed type in cipher suite list build
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Aug 2010 23:26:10 +0000 (01:26 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Aug 2010 23:26:10 +0000 (01:26 +0200)
src/libtls/tls_crypto.c

index a384de4..cb680e2 100644 (file)
@@ -438,7 +438,7 @@ static void build_cipher_suite_list(private_tls_crypto_t *this)
                                                        break;
                                                case AUTH_HMAC_SHA2_256_256:
                                                        supported[count++] = TLS_RSA_WITH_AES_128_CBC_SHA256;
-                                                       supported[count++] = TLS_RSA_WITH_AES_128_CBC_SHA256;
+                                                       supported[count++] = TLS_RSA_WITH_AES_256_CBC_SHA256;
                                                        break;
                                                default:
                                                        break;