diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
commit | 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 (patch) | |
tree | 9647961b98f60c9706ab8491e73070759d4a3545 /crypto/src/tls | |
parent | Change namespace for bzip2 code (diff) | |
download | BouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz |
Code cleanup
Diffstat (limited to 'crypto/src/tls')
-rw-r--r-- | crypto/src/tls/CertificateStatus.cs | 2 | ||||
-rw-r--r-- | crypto/src/tls/DtlsRecordLayer.cs | 2 | ||||
-rw-r--r-- | crypto/src/tls/ProtocolName.cs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/tls/CertificateStatus.cs b/crypto/src/tls/CertificateStatus.cs index cbf5600f6..11c4d4571 100644 --- a/crypto/src/tls/CertificateStatus.cs +++ b/crypto/src/tls/CertificateStatus.cs @@ -176,7 +176,7 @@ namespace Org.BouncyCastle.Tls return new CertificateStatus(status_type, response); } - private static bool IsCorrectType(short statusType, Object response) + private static bool IsCorrectType(short statusType, object response) { switch (statusType) { diff --git a/crypto/src/tls/DtlsRecordLayer.cs b/crypto/src/tls/DtlsRecordLayer.cs index ffc071967..b93253146 100644 --- a/crypto/src/tls/DtlsRecordLayer.cs +++ b/crypto/src/tls/DtlsRecordLayer.cs @@ -396,7 +396,7 @@ namespace Org.BouncyCastle.Tls } /// <exception cref="IOException"/> - internal virtual void Warn(short alertDescription, String message) + internal virtual void Warn(short alertDescription, string message) { RaiseAlert(AlertLevel.warning, alertDescription, message, null); } diff --git a/crypto/src/tls/ProtocolName.cs b/crypto/src/tls/ProtocolName.cs index 8a850209f..eec5f6f45 100644 --- a/crypto/src/tls/ProtocolName.cs +++ b/crypto/src/tls/ProtocolName.cs @@ -13,7 +13,7 @@ namespace Org.BouncyCastle.Tls return new ProtocolName(Arrays.Clone(bytes)); } - public static ProtocolName AsUtf8Encoding(String name) + public static ProtocolName AsUtf8Encoding(string name) { return new ProtocolName(Strings.ToUtf8ByteArray(name)); } |