aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/main/java/com/trilead
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/main/java/com/trilead')
-rw-r--r--lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java b/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java
index 7d8dd3e..281a59d 100644
--- a/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java
+++ b/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java
@@ -369,11 +369,11 @@ public class ECDSASHA2Verify {
public static String getDigestAlgorithmForParams(ECParameterSpec params) {
int size = getCurveSize(params);
if (size <= 256) {
- return "SHA256";
+ return "SHA-256";
} else if (size <= 384) {
- return "SHA384";
+ return "SHA-384";
} else {
- return "SHA512";
+ return "SHA-512";
}
}