jdk/src/share/classes/sun/security/tools/KeyTool.java
changeset 4152 bc36a9f01ac6
parent 3951 e821908c953e
child 4169 0ca7e3e74ba4
--- a/jdk/src/share/classes/sun/security/tools/KeyTool.java	Tue Oct 20 09:51:28 2009 -0700
+++ b/jdk/src/share/classes/sun/security/tools/KeyTool.java	Wed Oct 21 08:17:35 2009 +0800
@@ -1407,7 +1407,7 @@
         } else if ("RSA".equalsIgnoreCase(keyAlgName)) {
             return "SHA256WithRSA";
         } else if ("EC".equalsIgnoreCase(keyAlgName)) {
-            return "SHA1withECDSA";
+            return "SHA256withECDSA";
         } else {
             throw new Exception(rb.getString
                     ("Cannot derive signature algorithm"));