Skip to content

Commit c1f1b3b

Browse files
committed
WIP: Attempt to determine OCSP responder error type
1 parent 5a614a9 commit c1f1b3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/rustls-platform-verifier/src/main/java/org/rustls/platformverifier/CertificateVerifier.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ internal object CertificateVerifier {
361361
// happy with since it *only* tries OCSP by default. We aren't 100% decided on how to fix this yet for real
362362
// (see https://github.com/rustls/rustls-platform-verifier/pull/179) so for now we implement an out for
363363
// tests to allow regular maintenance to proceed.
364+
Log.w(TAG, e.reason.toString())
365+
Log.w(TAG, e.reason.javaClass.toString())
364366
if (BuildConfig.TEST && e.reason == CertPathValidatorException.BasicReason.UNDETERMINED_REVOCATION_STATUS) {
365367
return VerificationResult(StatusCode.Ok)
366368
}

0 commit comments

Comments
 (0)