summaryrefslogtreecommitdiff
path: root/cmd/lib
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2017-09-07 09:33:28 +0200
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2017-09-07 09:33:28 +0200
commit5cd3125cfb2a6a2e21ef7d1b245cec2656933256 (patch)
tree85dcf11009ce71aed454b3c3bff2bfbdcbd3954b /cmd/lib
parentd9458e3f7378b5ab2a952512edb19854c406b450 (diff)
downloadnss-hg-5cd3125cfb2a6a2e21ef7d1b245cec2656933256.tar.gz
Bug 1339720 - remove DISABLE_ECC, r=ttaubert,rrelyea
Differential Revision: https://nss-review.dev.mozaws.net/D264
Diffstat (limited to 'cmd/lib')
-rw-r--r--cmd/lib/secutil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/lib/secutil.c b/cmd/lib/secutil.c
index 8616de074..84ac4163c 100644
--- a/cmd/lib/secutil.c
+++ b/cmd/lib/secutil.c
@@ -1409,7 +1409,6 @@ secu_PrintAttribute(FILE *out, SEC_PKCS7Attribute *attr, char *m, int level)
}
}
-#ifndef NSS_DISABLE_ECC
static void
secu_PrintECPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level)
{
@@ -1428,7 +1427,6 @@ secu_PrintECPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level)
SECU_PrintObjectID(out, &curveOID, "Curve", level + 1);
}
}
-#endif /* NSS_DISABLE_ECC */
void
SECU_PrintRSAPublicKey(FILE *out, SECKEYPublicKey *pk, char *m, int level)
@@ -1476,11 +1474,9 @@ secu_PrintSubjectPublicKeyInfo(FILE *out, PLArenaPool *arena,
SECU_PrintDSAPublicKey(out, pk, "DSA Public Key", level + 1);
break;
-#ifndef NSS_DISABLE_ECC
case ecKey:
secu_PrintECPublicKey(out, pk, "EC Public Key", level + 1);
break;
-#endif
case dhKey:
case fortezzaKey: