diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-06 15:32:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-06 15:32:42 +0700 |
commit | ab96596d92cbf70e7feda3bf3340a423d6f7188d (patch) | |
tree | 8884fdd66bdd7f14881ddb9d67614beb1c6ad835 | |
parent | Mark method obsolete (diff) | |
download | BouncyCastle.NET-ed25519-ab96596d92cbf70e7feda3bf3340a423d6f7188d.tar.xz |
Avoid duplicate call
-rw-r--r-- | crypto/src/tls/SignatureScheme.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/SignatureScheme.cs b/crypto/src/tls/SignatureScheme.cs index 4b934133d..03a8ce30f 100644 --- a/crypto/src/tls/SignatureScheme.cs +++ b/crypto/src/tls/SignatureScheme.cs @@ -92,7 +92,7 @@ namespace Org.BouncyCastle.Tls if (HashAlgorithm.Intrinsic == hashAlgorithm || !HashAlgorithm.IsRecognized(hashAlgorithm)) return -1; - return TlsCryptoUtilities.GetHash(GetHashAlgorithm(signatureScheme)); + return TlsCryptoUtilities.GetHash(hashAlgorithm); } } } |