aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/nss.c
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 /lib/vtls/nss.c
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
Diffstat (limited to 'lib/vtls/nss.c')
-rw-r--r--lib/vtls/nss.c2
1 files changed, 0 insertions, 2 deletions
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