Skip to content

Commit bf9420c

Browse files
authored
Merge pull request #110 from iconara/no-warnings-on-missing-client-cert
Don't print a warning for missing client certs
2 parents 2678bab + 6a4ee35 commit bf9420c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jruby/ext/openssl/SSLSocket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public IRubyObject peer_cert() {
958958
throw X509Cert.newCertificateError(runtime, e);
959959
}
960960
catch (SSLPeerUnverifiedException e) {
961-
if (runtime.isVerbose() || OpenSSL.isDebug(runtime)) {
961+
if (OpenSSL.isDebug(runtime)) {
962962
runtime.getWarnings().warning(String.format("%s: %s", e.getClass().getName(), e.getMessage()));
963963
}
964964
}

0 commit comments

Comments
 (0)