changeset 9012:1738dfb0c52a

8029181: ts.sh generates invalid file after JDK-8027026 Reviewed-by: vinnie, mullan
author weijun
date Wed, 27 Nov 2013 09:56:38 +0800
parents e822676cd3cd
children 2370d285d08b
files test/sun/security/tools/jarsigner/TimestampCheck.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/jarsigner/TimestampCheck.java	Tue Nov 26 17:16:07 2013 -0500
+++ b/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 =