8029181: ts.sh generates invalid file after JDK-8027026
authorweijun
Wed, 27 Nov 2013 09:56:38 +0800
changeset 21852 5059284b03a0
parent 21851 f21f49c7c265
child 21853 8aa7444a01a8
8029181: ts.sh generates invalid file after JDK-8027026 Reviewed-by: vinnie, mullan
jdk/test/sun/security/tools/jarsigner/TimestampCheck.java
--- a/jdk/test/sun/security/tools/jarsigner/TimestampCheck.java	Tue Nov 26 17:16:07 2013 -0500
+++ b/jdk/test/sun/security/tools/jarsigner/TimestampCheck.java	Wed Nov 27 09:56:38 2013 +0800
@@ -202,7 +202,7 @@
             SignerInfo signerInfo = new SignerInfo(
                     new X500Name(signer.getIssuerX500Principal().getName()),
                     signer.getSerialNumber(),
-                    aid, AlgorithmId.get("DSA"), sig.sign());
+                    aid, AlgorithmId.get("RSA"), sig.sign());
 
             SignerInfo[] signerInfos = {signerInfo};
             PKCS7 p7 =