summary refs log tree commit diff
path: root/crypto/test/src/openpgp/examples/PbeFileProcessor.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/PbeFileProcessor.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/PbeFileProcessor.cs')
-rw-r--r--crypto/test/src/openpgp/examples/PbeFileProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/openpgp/examples/PbeFileProcessor.cs b/crypto/test/src/openpgp/examples/PbeFileProcessor.cs

index 66b1cc4ed..961704407 100644 --- a/crypto/test/src/openpgp/examples/PbeFileProcessor.cs +++ b/crypto/test/src/openpgp/examples/PbeFileProcessor.cs
@@ -127,7 +127,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples PgpEncryptedDataGenerator encGen = new PgpEncryptedDataGenerator( SymmetricKeyAlgorithmTag.Cast5, withIntegrityCheck, new SecureRandom()); - encGen.AddMethod(passPhrase); + encGen.AddMethod(passPhrase, HashAlgorithmTag.Sha1); Stream encOut = encGen.Open(outputStream, compressedData.Length);