From 7d88f4ee050856b8fef5f260cfe1b3aeec201fda Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 9 Apr 2012 13:56:59 -0500 Subject: Removed unused private fields. Most of unused private fields have been removed because they generate warnings in Eclipse. Some are kept because it might be useful later. Ticket #139 --- .../common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java') diff --git a/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java b/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java index 8d8e7dfcc..328f6a86c 100644 --- a/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java +++ b/base/common/src/com/netscape/cmscore/security/SSLSelfSignedCert.java @@ -37,7 +37,6 @@ import com.netscape.certsrv.security.KeyCertData; public class SSLSelfSignedCert extends CertificateInfo { public static final String SUBJECT_NAME = "CN=SSL, O=Netscape Communications, C=US"; - private String mTokenname = Constants.PR_INTERNAL_TOKEN_NAME; public SSLSelfSignedCert(KeyCertData properties) { this(properties, null); @@ -45,11 +44,6 @@ public class SSLSelfSignedCert extends CertificateInfo { public SSLSelfSignedCert(KeyCertData properties, KeyPair pair) { super(properties, pair); - String tmp = (String) mProperties.get(Constants.PR_TOKEN_NAME); - - if ((tmp != null) && - (!tmp.equals(Constants.PR_INTERNAL_TOKEN))) - mTokenname = tmp; mProperties.remove(Constants.PR_AKI); // 020599: This SSL server bit has to be turned on. Otherwise, it -- cgit