diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-09 12:10:58 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-09 12:10:58 +0700 |
commit | 36057f66032c5e2942a8c3797be39f20693318f3 (patch) | |
tree | 966eb52e8b140121cf032181f1bfb65012b6f9f7 /crypto/src | |
parent | fixed argument null message (diff) | |
download | BouncyCastle.NET-ed25519-36057f66032c5e2942a8c3797be39f20693318f3.tar.xz |
Add DOTNET and LIB preprocessor flags as per BouncyCastle-PCL
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/cms/CMSProcessableFile.cs | 2 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpLiteralDataGenerator.cs | 4 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpUtilities.cs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/cms/CMSProcessableFile.cs b/crypto/src/cms/CMSProcessableFile.cs index b514bdbda..c74d2a846 100644 --- a/crypto/src/cms/CMSProcessableFile.cs +++ b/crypto/src/cms/CMSProcessableFile.cs @@ -1,4 +1,4 @@ -#if !PORTABLE +#if !PORTABLE || DOTNET using System; using System.IO; diff --git a/crypto/src/openpgp/PgpLiteralDataGenerator.cs b/crypto/src/openpgp/PgpLiteralDataGenerator.cs index 17a6eeef2..7672659ca 100644 --- a/crypto/src/openpgp/PgpLiteralDataGenerator.cs +++ b/crypto/src/openpgp/PgpLiteralDataGenerator.cs @@ -141,8 +141,8 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return new WrappedGeneratorStream(this, pkOut); } -#if !PORTABLE - /// <summary> +#if !PORTABLE || DOTNET + /// <summary> /// <p> /// Open a literal data packet for the passed in <c>FileInfo</c> object, returning /// an output stream for saving the file contents. diff --git a/crypto/src/openpgp/PgpUtilities.cs b/crypto/src/openpgp/PgpUtilities.cs index 9238edcfc..055f99636 100644 --- a/crypto/src/openpgp/PgpUtilities.cs +++ b/crypto/src/openpgp/PgpUtilities.cs @@ -347,7 +347,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return MakeKey(algorithm, keyBytes); } -#if !PORTABLE +#if !PORTABLE || DOTNET /// <summary>Write out the passed in file as a literal data packet.</summary> public static void WriteFileToLiteralData( Stream output, |