summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-06 15:32:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-06 15:32:42 +0700
commitab96596d92cbf70e7feda3bf3340a423d6f7188d (patch)
tree8884fdd66bdd7f14881ddb9d67614beb1c6ad835 /crypto
parentMark method obsolete (diff)
downloadBouncyCastle.NET-ed25519-ab96596d92cbf70e7feda3bf3340a423d6f7188d.tar.xz
Avoid duplicate call
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/tls/SignatureScheme.cs2
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);
             }
             }
         }