From 58cb9bd8b944b5c4269204eeab127de9203b9ac1 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 20 Mar 2023 15:23:47 +0700 Subject: Add EdDsa_Legacy --- crypto/src/bcpg/SignaturePacket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/bcpg/SignaturePacket.cs') diff --git a/crypto/src/bcpg/SignaturePacket.cs b/crypto/src/bcpg/SignaturePacket.cs index 99ca7df40..305039e1c 100644 --- a/crypto/src/bcpg/SignaturePacket.cs +++ b/crypto/src/bcpg/SignaturePacket.cs @@ -143,7 +143,7 @@ namespace Org.BouncyCastle.Bcpg signature = new MPInteger[3]{ p, g, y }; break; case PublicKeyAlgorithmTag.ECDsa: - case PublicKeyAlgorithmTag.EdDsa: + case PublicKeyAlgorithmTag.EdDsa_Legacy: MPInteger ecR = new MPInteger(bcpgIn); MPInteger ecS = new MPInteger(bcpgIn); signature = new MPInteger[2]{ ecR, ecS }; -- cgit 1.4.1