Skip to content

Commit 78c2e35

Browse files
committed
Revert null check in IdentityPoolCredentials to debug SSL failures
1 parent 2685921 commit 78c2e35

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

oauth2_http/java/com/google/auth/oauth2/IdentityPoolCredentials.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ private X509Provider getX509Provider(
190190
private static String getExplicitCertConfigPath(IdentityPoolCredentialSource credentialSource) {
191191
IdentityPoolCredentialSource.CertificateConfig certConfig =
192192
credentialSource.getCertificateConfig();
193-
if (certConfig == null) {
194-
return null;
195-
}
193+
196194
return certConfig.useDefaultCertificateConfig()
197195
? null
198196
: certConfig.getCertificateConfigLocation();

0 commit comments

Comments
 (0)