Skip to content

Commit 817cfed

Browse files
committed
[fix] EC key sign/verify (#193)
1 parent 25972fd commit 817cfed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jruby/ext/openssl/PKeyEC.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public PKeyEC(Ruby runtime, RubyClass type) {
220220
public PrivateKey getPrivateKey() { return privateKey; }
221221

222222
@Override
223-
public String getAlgorithm() { return "EC"; }
223+
public String getAlgorithm() { return "ECDSA"; }
224224

225225
@JRubyMethod(rest = true, visibility = Visibility.PRIVATE)
226226
public IRubyObject initialize(final ThreadContext context, final IRubyObject[] args, Block block) {

0 commit comments

Comments
 (0)