changeset 12510:bdb29087d79c

8186503: sun/security/tools/jarsigner/DefaultSigalg.java failed after backport to JDK 6/7/8 Reviewed-by: bgopularam
author asaha
date Mon, 28 Aug 2017 12:54:41 -0700
parents 1612ce07eb9b
children 431c125e1231
files src/share/classes/sun/security/tools/keytool/Main.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/tools/keytool/Main.java	Thu Aug 24 14:46:56 2017 +0100
+++ b/src/share/classes/sun/security/tools/keytool/Main.java	Mon Aug 28 12:54:41 2017 -0700
@@ -1714,7 +1714,8 @@
                 // hardcode for now as DEF_RSA_KEY_SIZE is still 1024
                 keysize = 2048; // SecurityProviderConstants.DEF_RSA_KEY_SIZE;
             } else if ("DSA".equalsIgnoreCase(keyAlgName)) {
-                keysize = SecurityProviderConstants.DEF_DSA_KEY_SIZE;
+                // hardcode for now as DEF_DSA_KEY_SIZE is still 1024
+                keysize = 2048;
             }
         }