aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2014-01-29 13:03:46 +0100
committerKamil Dudka <kdudka@redhat.com>2014-01-29 13:57:21 +0100
commit665c160f0a4635565b44704ca281d2a03e715d6d (patch)
tree04c7628337db5fc9d8ec0878c1d1be4f99e1bd0f
parente15e73b741a2ddc88d166d2cec86d2bebb5d349e (diff)
nss: do not use the NSS_ENABLE_ECC define
It is not provided by NSS public headers. Bug: https://bugzilla.redhat.com/1058776
-rw-r--r--RELEASE-NOTES3
-rw-r--r--lib/vtls/nss.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 70d5e7a6c..90065ac27 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -13,6 +13,7 @@ This release includes the following changes:
This release includes the following bugfixes:
+ o nss: allow to use ECC ciphers if NSS implements them [1]
o
This release includes the following known bugs:
@@ -28,4 +29,4 @@ advice from friends like these:
References to bug reports and discussions on issues:
- [1] =
+ [1] = https://bugzilla.redhat.com/1058776
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index 8e6627b31..0d5f740d8 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -125,7 +125,6 @@ static const cipher_s cipherlist[] = {
/* AES ciphers. */
{"rsa_aes_128_sha", TLS_RSA_WITH_AES_128_CBC_SHA},
{"rsa_aes_256_sha", TLS_RSA_WITH_AES_256_CBC_SHA},
-#ifdef NSS_ENABLE_ECC
/* ECC ciphers. */
{"ecdh_ecdsa_null_sha", TLS_ECDH_ECDSA_WITH_NULL_SHA},
{"ecdh_ecdsa_rc4_128_sha", TLS_ECDH_ECDSA_WITH_RC4_128_SHA},
@@ -152,7 +151,6 @@ static const cipher_s cipherlist[] = {
{"ecdh_anon_3des_sha", TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA},
{"ecdh_anon_aes_128_sha", TLS_ECDH_anon_WITH_AES_128_CBC_SHA},
{"ecdh_anon_aes_256_sha", TLS_ECDH_anon_WITH_AES_256_CBC_SHA},
-#endif
};
/* following ciphers are new in NSS 3.4 and not enabled by default, therefore