Skip to content

Commit 96f0adb

Browse files
Failing test shows, that the Windows ROOT store also carries cross signed certificates
The tests assumption that certificates in the ROOT store are all self signed does not hold anymore.
1 parent 3065af0 commit 96f0adb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contrib/platform/test/com/sun/jna/platform/win32/Crypt32Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ private void enumerateRootCertificates(HCERTSTORE hCertStore) {
468468
assertNotNull(ctx.pCertInfo.Subject);
469469
assertFalse(decodeName(ctx.pCertInfo.Issuer).isEmpty());
470470
assertFalse(decodeName(ctx.pCertInfo.Subject).isEmpty());
471-
assertEquals(decodeName(ctx.pCertInfo.Issuer), decodeName(ctx.pCertInfo.Subject));
472471
// System.out.printf("%20s: %s%n", "Issuer", decodeName(ctx.pCertInfo.Issuer));
473472
// System.out.printf("%20s: %s%n", "Subject", decodeName(ctx.pCertInfo.Subject));
474473
readCertificates++;

0 commit comments

Comments
 (0)