summary refs log tree commit diff
path: root/crypto/src/tls/TlsECDheKeyExchange.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-13 16:54:50 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-13 16:54:50 +0700
commit8048cd8d0c9396f19c816220c4b6bddb193280ce (patch)
treebf7aec497a8c7394ca3571db8c41278c0f9ff6c3 /crypto/src/tls/TlsECDheKeyExchange.cs
parent.NET 1.1 fixes (diff)
downloadBouncyCastle.NET-ed25519-8048cd8d0c9396f19c816220c4b6bddb193280ce.tar.xz
Some methods towards GMSSL support
Diffstat (limited to 'crypto/src/tls/TlsECDheKeyExchange.cs')
-rw-r--r--crypto/src/tls/TlsECDheKeyExchange.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/tls/TlsECDheKeyExchange.cs b/crypto/src/tls/TlsECDheKeyExchange.cs
index ab83036d9..10737750f 100644
--- a/crypto/src/tls/TlsECDheKeyExchange.cs
+++ b/crypto/src/tls/TlsECDheKeyExchange.cs
@@ -69,7 +69,7 @@ namespace Org.BouncyCastle.Tls
 
             GenerateEphemeral(digestBuffer);
 
-            TlsUtilities.GenerateServerKeyExchangeSignature(m_context, m_serverCredentials, digestBuffer);
+            TlsUtilities.GenerateServerKeyExchangeSignature(m_context, m_serverCredentials, null, digestBuffer);
 
             return digestBuffer.ToArray();
         }
@@ -83,7 +83,7 @@ namespace Org.BouncyCastle.Tls
 
             byte[] point = TlsUtilities.ReadOpaque8(teeIn, 1);
 
-            TlsUtilities.VerifyServerKeyExchangeSignature(m_context, input, m_serverCertificate, digestBuffer);
+            TlsUtilities.VerifyServerKeyExchangeSignature(m_context, input, m_serverCertificate, null, digestBuffer);
 
             this.m_agreement = m_context.Crypto.CreateECDomain(m_ecConfig).CreateECDH();