We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14bb27b commit 488d6e7Copy full SHA for 488d6e7
1 file changed
src/test/com/wolfssl/provider/jsse/test/WolfSSLServerSocketTest.java
@@ -525,8 +525,10 @@ public Void call() throws Exception {
525
fail();
526
527
} catch (SSLHandshakeException e) {
528
- /* expected */
529
- if (!e.toString().contains("ASN no signer")) {
+ /* Expected. Different versions of wolfSSL can display
+ * varying error strings. Check for either here. */
530
+ if (!e.toString().contains("ASN no signer") &&
531
+ !e.toString().contains("certificate verify failed")) {
532
System.out.println("\t\t... failed");
533
534
}
0 commit comments