Skip to content

Commit 4fe963d

Browse files
committed
Formatting
1 parent 44c8689 commit 4fe963d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tls/src/main/java/org/bouncycastle/jsse/provider/ProvX509TrustManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,10 @@ private static void checkEndpointID(X509Certificate certificate, String endpoint
462462
}
463463
catch (CertificateException e)
464464
{
465-
// Special case for SunJSSE compatibility
465+
// Special case for SunJSSE compatibility
466466
if (!checkServerTrusted && "HTTPS".equalsIgnoreCase(endpointIDAlg))
467467
{
468-
throw new CertificateException("Endpoint ID algorithm 'HTTPS' is not supported on the server side");
468+
throw new CertificateException("Endpoint ID algorithm 'HTTPS' is not supported on the server side");
469469
}
470470

471471
throw e;

0 commit comments

Comments
 (0)