diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-27 12:51:18 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-27 12:51:18 +0700 |
commit | 0c21bca32d3ac397ada9be1f0482540f7247f7cf (patch) | |
tree | 6053bb9606d6e8c2047a2cdd766c658dad19ec11 /crypto/src/util | |
parent | Misc. cleanup after bc-fips-csharp updates (diff) | |
download | BouncyCastle.NET-ed25519-0c21bca32d3ac397ada9be1f0482540f7247f7cf.tar.xz |
MIsc. cleanup
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/Platform.cs | 7 | ||||
-rw-r--r-- | crypto/src/util/io/LimitedInputStream.cs | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/crypto/src/util/Platform.cs b/crypto/src/util/Platform.cs index a78153b8c..e43714181 100644 --- a/crypto/src/util/Platform.cs +++ b/crypto/src/util/Platform.cs @@ -63,7 +63,12 @@ namespace Org.BouncyCastle.Utilities internal static string GetTypeName(object obj) { - return obj.GetType().FullName; + return GetTypeName(obj.GetType()); + } + + internal static string GetTypeName(Type t) + { + return t.FullName; } } } diff --git a/crypto/src/util/io/LimitedInputStream.cs b/crypto/src/util/io/LimitedInputStream.cs index d6616eff5..4c6aac631 100644 --- a/crypto/src/util/io/LimitedInputStream.cs +++ b/crypto/src/util/io/LimitedInputStream.cs @@ -1,5 +1,4 @@ -using Org.BouncyCastle.Utilities.Zlib; -using System; +using System; using System.IO; namespace Org.BouncyCastle.Utilities.IO |