summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
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);
             }
             }
         }