From ab96596d92cbf70e7feda3bf3340a423d6f7188d Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 6 May 2022 15:32:42 +0700 Subject: Avoid duplicate call --- crypto/src/tls/SignatureScheme.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto') 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); } } } -- cgit 1.4.1