Skip to content

Commit 1d4c79f

Browse files
committed
Remove un-used comments
1 parent 2924696 commit 1d4c79f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

dev/com.ibm.ws.ssl/src/com/ibm/websphere/ssl/SSLConfig.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ private void initializeDefaults() {
131131

132132
JSSEProvider defaultProvider = JSSEProviderFactory.getInstance();
133133
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
134-
Tr.debug(tc, "JSSEProvider default: " + defaultProvider.toString());
135-
Tr.debug(tc, "JSSEProvider default: " + defaultProvider.getClass().getName());
134+
Tr.debug(tc, "Defafult JSSEProvider: " + defaultProvider.toString());
136135
}
137136

138137
if (getProperty(Constants.SSLPROP_KEY_MANAGER) == null)
@@ -144,7 +143,7 @@ private void initializeDefaults() {
144143

145144
if (getProperty(Constants.SSLPROP_PROTOCOL) == null) {
146145
setProperty(Constants.SSLPROP_PROTOCOL, defaultProvider.getDefaultProtocol());
147-
Tr.debug(tc, "Protocol default: " + defaultProvider.getDefaultProtocol());
146+
Tr.debug(tc, "Default protocol: " + defaultProvider.getDefaultProtocol());
148147
}
149148
if (getProperty(Constants.SSLPROP_CLIENT_AUTHENTICATION) == null)
150149
setProperty(Constants.SSLPROP_CLIENT_AUTHENTICATION, Constants.FALSE);

dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/ProtocolHelper.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ public void checkProtocolValueGood(String sslProtocol) throws SSLException, Unsu
9393
} else {
9494
String protocol = protocols[0];
9595
if (!validatedProtocols.contains(protocol)) {
96-
// TODO: uncomment the following once SSL tests have been updated for FIPS 140-3
97-
// if (fips140_3Enabled && !allowedProtocols.contains(protocol)) {
98-
// Tr.error(tc, "ssl.protocol.error.CWPKI0832E", protocol);
99-
// throw new SSLException("Protocol provided is not appropriate for a protocol list.");
100-
// }
10196
checkProtocol(protocol);
10297
}
10398
}

0 commit comments

Comments
 (0)