diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-22 11:54:04 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-10-22 11:54:04 +0700 |
commit | aa5ea8989854f6a55f412d3eae67aede37e14d1a (patch) | |
tree | e9674bd220f4754da582a9601d9116d1b84de177 /crypto/src | |
parent | Include public key in EC encoding (diff) | |
download | BouncyCastle.NET-ed25519-aa5ea8989854f6a55f412d3eae67aede37e14d1a.tar.xz |
Remove unnecessary Clone
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/openpgp/PgpUtilities.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpUtilities.cs b/crypto/src/openpgp/PgpUtilities.cs index 10d1ac398..a3efd591f 100644 --- a/crypto/src/openpgp/PgpUtilities.cs +++ b/crypto/src/openpgp/PgpUtilities.cs @@ -367,7 +367,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp byte[] buffer) { PgpLiteralDataGenerator lData = new PgpLiteralDataGenerator(); - Stream pOut = lData.Open(output, fileType, file.Name, file.LastWriteTime, Arrays.Clone(buffer)); + Stream pOut = lData.Open(output, fileType, file.Name, file.LastWriteTime, buffer); PipeFileContents(file, pOut, buffer.Length); } |