summary refs log tree commit diff
path: root/crypto/test/src/openpgp/test/DSA2Test.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/openpgp/test/DSA2Test.cs')
-rw-r--r--crypto/test/src/openpgp/test/DSA2Test.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/openpgp/test/DSA2Test.cs b/crypto/test/src/openpgp/test/DSA2Test.cs
index 54c2cb2b5..dc7dffe81 100644
--- a/crypto/test/src/openpgp/test/DSA2Test.cs
+++ b/crypto/test/src/openpgp/test/DSA2Test.cs
@@ -144,7 +144,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests
 				sGen.Update((byte)ch);
 			}
 
-			lGen.Close();
+			lGen.Dispose();
 
 			sGen.Generate().Encode(bcOut);