diff options
Diffstat (limited to 'crypto/src/openpgp/PgpSignature.cs')
-rw-r--r-- | crypto/src/openpgp/PgpSignature.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpSignature.cs b/crypto/src/openpgp/PgpSignature.cs index d1146183a..d6ffc0f74 100644 --- a/crypto/src/openpgp/PgpSignature.cs +++ b/crypto/src/openpgp/PgpSignature.cs @@ -370,7 +370,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp { signature = sigValues[0].Value.ToByteArrayUnsigned(); } - else if (KeyAlgorithm == PublicKeyAlgorithmTag.EdDsa) + else if (KeyAlgorithm == PublicKeyAlgorithmTag.EdDsa_Legacy) { if (sigValues.Length != 2) throw new InvalidOperationException(); |