8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile
Reviewed-by: mullan
This commit is contained in:
parent
6b396da278
commit
f143380d01
@ -607,7 +607,6 @@ sun/security/pkcs11/rsa/TestSignatures.java 8295343 linux-al
|
|||||||
sun/security/pkcs11/rsa/TestKeyPairGenerator.java 8295343 linux-all
|
sun/security/pkcs11/rsa/TestKeyPairGenerator.java 8295343 linux-all
|
||||||
sun/security/pkcs11/rsa/TestKeyFactory.java 8295343 linux-all
|
sun/security/pkcs11/rsa/TestKeyFactory.java 8295343 linux-all
|
||||||
sun/security/pkcs11/KeyStore/Basic.java 8295343 linux-all
|
sun/security/pkcs11/KeyStore/Basic.java 8295343 linux-all
|
||||||
sun/security/pkcs/pkcs7/SignerOrder.java 8314240 generic-all
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -102,10 +102,10 @@ public class SignerOrder {
|
|||||||
printSignerInfos(pkcs72.getSignerInfos());
|
printSignerInfos(pkcs72.getSignerInfos());
|
||||||
|
|
||||||
System.out.println("Verified signers of original:");
|
System.out.println("Verified signers of original:");
|
||||||
SignerInfo[] verifs1 = pkcs71.verify();
|
SignerInfo[] verifs1 = pkcs71.verify(null);
|
||||||
|
|
||||||
System.out.println("Verified signers of after read-in:");
|
System.out.println("Verified signers of after read-in:");
|
||||||
SignerInfo[] verifs2 = pkcs72.verify();
|
SignerInfo[] verifs2 = pkcs72.verify(null);
|
||||||
|
|
||||||
if (verifs1.length != verifs2.length) {
|
if (verifs1.length != verifs2.length) {
|
||||||
throw new RuntimeException("Length or Original vs read-in "
|
throw new RuntimeException("Length or Original vs read-in "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user