summary refs log tree commit diff
path: root/crypto/test/src/openpgp/examples/ByteArrayHandler.cs
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2015-10-18 11:30:17 -0400
committerJeffrey Stedfast <jeff@xamarin.com>2015-10-18 11:30:17 -0400
commit8d1add6bb7609792163a91404e8cf7fec2040516 (patch)
tree3f8ccb6bb30bdacf29d0e2e9259346b891b7d8df /crypto/test/src/openpgp/examples/ByteArrayHandler.cs
parentUpdated Visual Studio 2010 project files (diff)
parenthttps://github.com/bcgit/bc-csharp/issues/37 (diff)
downloadBouncyCastle.NET-ed25519-8d1add6bb7609792163a91404e8cf7fec2040516.tar.xz
Merge branch 'master' into vs2010
Diffstat (limited to 'crypto/test/src/openpgp/examples/ByteArrayHandler.cs')
-rw-r--r--crypto/test/src/openpgp/examples/ByteArrayHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/openpgp/examples/ByteArrayHandler.cs b/crypto/test/src/openpgp/examples/ByteArrayHandler.cs

index 676db8766..b5098ff66 100644 --- a/crypto/test/src/openpgp/examples/ByteArrayHandler.cs +++ b/crypto/test/src/openpgp/examples/ByteArrayHandler.cs
@@ -123,7 +123,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples } PgpEncryptedDataGenerator encGen = new PgpEncryptedDataGenerator(algorithm, new SecureRandom()); - encGen.AddMethod(passPhrase); + encGen.AddMethod(passPhrase, HashAlgorithmTag.Sha1); Stream encOut = encGen.Open(output, compressedData.Length);