1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/tls/DeferredHash.cs b/crypto/src/tls/DeferredHash.cs
index 43d60d07c..0532d523c 100644
--- a/crypto/src/tls/DeferredHash.cs
+++ b/crypto/src/tls/DeferredHash.cs
@@ -73,7 +73,7 @@ namespace Org.BouncyCastle.Tls
}
default:
{
- CheckTrackingHash(securityParameters.PrfHashAlgorithm);
+ CheckTrackingHash(securityParameters.PrfCryptoHashAlgorithm);
if (TlsUtilities.IsTlsV13(securityParameters.NegotiatedVersion))
{
SealHashAlgorithms();
@@ -116,7 +116,7 @@ namespace Org.BouncyCastle.Tls
}
default:
{
- CloneHash(newHashes, securityParameters.PrfHashAlgorithm);
+ CloneHash(newHashes, securityParameters.PrfCryptoHashAlgorithm);
break;
}
}
@@ -140,7 +140,7 @@ namespace Org.BouncyCastle.Tls
}
default:
{
- prfHash = CloneHash(securityParameters.PrfHashAlgorithm);
+ prfHash = CloneHash(securityParameters.PrfCryptoHashAlgorithm);
break;
}
}
|