summary refs log tree commit diff
path: root/crypto/test/src/openpgp/examples/PublicKeyRingDump.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/openpgp/examples/PublicKeyRingDump.cs')
-rw-r--r--crypto/test/src/openpgp/examples/PublicKeyRingDump.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/openpgp/examples/PublicKeyRingDump.cs b/crypto/test/src/openpgp/examples/PublicKeyRingDump.cs
index bb6108f2d..cbf553795 100644
--- a/crypto/test/src/openpgp/examples/PublicKeyRingDump.cs
+++ b/crypto/test/src/openpgp/examples/PublicKeyRingDump.cs
@@ -35,8 +35,8 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples
                     return "ElGamalEncrypt";
                 case PublicKeyAlgorithmTag.Dsa:
                     return "DSA";
-                case PublicKeyAlgorithmTag.EC:
-                    return "EC";
+                case PublicKeyAlgorithmTag.ECDH:
+                    return "ECDH";
                 case PublicKeyAlgorithmTag.ECDsa:
                     return "ECDSA";
                 case PublicKeyAlgorithmTag.ElGamalGeneral: