diff options
Diffstat (limited to 'crypto/src/util/zlib')
-rw-r--r-- | crypto/src/util/zlib/Deflate.cs | 2 | ||||
-rw-r--r-- | crypto/src/util/zlib/InfBlocks.cs | 4 | ||||
-rw-r--r-- | crypto/src/util/zlib/JZlib.cs | 11 | ||||
-rw-r--r-- | crypto/src/util/zlib/ZStream.cs | 2 |
4 files changed, 10 insertions, 9 deletions
diff --git a/crypto/src/util/zlib/Deflate.cs b/crypto/src/util/zlib/Deflate.cs index 90f8eb09c..ccd771eaa 100644 --- a/crypto/src/util/zlib/Deflate.cs +++ b/crypto/src/util/zlib/Deflate.cs @@ -82,7 +82,7 @@ namespace Org.BouncyCastle.Utilities.Zlib { config_table[9]=new Config(32, 258, 258, 4096, SLOW); } - private static readonly String[] z_errmsg = { + private static readonly string[] z_errmsg = { "need dictionary", // Z_NEED_DICT 2 "stream end", // Z_STREAM_END 1 "", // Z_OK 0 diff --git a/crypto/src/util/zlib/InfBlocks.cs b/crypto/src/util/zlib/InfBlocks.cs index 479d9b5c9..9e18e3f60 100644 --- a/crypto/src/util/zlib/InfBlocks.cs +++ b/crypto/src/util/zlib/InfBlocks.cs @@ -95,12 +95,12 @@ namespace Org.BouncyCastle.Utilities.Zlib { internal int end; // one byte after sliding window internal int read; // window read pointer internal int write; // window write pointer - internal Object checkfn; // check function + internal object checkfn; // check function internal long check; // check on output internal InfTree inftree=new InfTree(); - internal InfBlocks(ZStream z, Object checkfn, int w){ + internal InfBlocks(ZStream z, object checkfn, int w){ hufts=new int[MANY*3]; window=new byte[w]; end=w; diff --git a/crypto/src/util/zlib/JZlib.cs b/crypto/src/util/zlib/JZlib.cs index 4f2cfdaa9..d4a9cbf04 100644 --- a/crypto/src/util/zlib/JZlib.cs +++ b/crypto/src/util/zlib/JZlib.cs @@ -34,11 +34,12 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * and contributors of zlib. */ -namespace Org.BouncyCastle.Utilities.Zlib { - - public sealed class JZlib{ - private const String _version="1.0.7"; - public static String version() +namespace Org.BouncyCastle.Utilities.Zlib +{ + public sealed class JZlib + { + private const string _version="1.0.7"; + public static string version() { return _version; } diff --git a/crypto/src/util/zlib/ZStream.cs b/crypto/src/util/zlib/ZStream.cs index 7ff961462..9378bf78f 100644 --- a/crypto/src/util/zlib/ZStream.cs +++ b/crypto/src/util/zlib/ZStream.cs @@ -69,7 +69,7 @@ namespace Org.BouncyCastle.Utilities.Zlib { public int avail_out; // remaining free space at next_out public long total_out; // total nb of bytes output so far - public String msg; + public string msg; internal Deflate dstate; internal Inflate istate; |