From 9c3cc5e955e9101ffb4e59282d548105dcc42664 Mon Sep 17 00:00:00 2001 From: Jack Magne Date: Tue, 10 Sep 2013 14:24:08 -0700 Subject: Patch to get rid of introduced warnings. --- base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'base/util') diff --git a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java index 25d89b085..5957f046d 100644 --- a/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java +++ b/base/util/src/com/netscape/cmsutil/crypto/CryptoUtil.java @@ -117,7 +117,7 @@ import org.mozilla.jss.util.Password; import com.netscape.cmsutil.util.Cert; import com.netscape.cmsutil.util.Utils; - +@SuppressWarnings("serial") public class CryptoUtil { public static final String CERTREQ_BEGIN_HEADING = "-----BEGIN CERTIFICATE REQUEST-----"; @@ -1643,12 +1643,12 @@ public class CryptoUtil { return ecCurves; } - public static Vector getECKeyCurve(X509Key key) throws Exception { + public static Vector getECKeyCurve(X509Key key) throws Exception { AlgorithmId algid = key.getAlgorithmId(); //System.out.println("CryptoUtil: getECKeyCurve: algid ="+ algid); /* - * Get raw string representation of alg parameters, will give + * Get raw string representation of alg parameters, will give * us the curve OID. */ String params = null; @@ -1661,7 +1661,7 @@ public class CryptoUtil { } //System.out.println("CryptoUtil: getECKeyCurve: EC key OID ="+ params); - Vector vect = ecOIDs.get(params); + Vector vect = ecOIDs.get(params); return vect; } -- cgit