summary refs log tree commit diff
path: root/crypto/src/tls/DtlsServerProtocol.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-10 16:35:20 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-10 16:35:20 +0700
commit45fc4e6a632828759cd5c1cc688ebfde1091e47c (patch)
tree347a5f524fceb96a97904a145868485dffd93d91 /crypto/src/tls/DtlsServerProtocol.cs
parentDTLS: refactoring around extended_master_secret (diff)
downloadBouncyCastle.NET-ed25519-45fc4e6a632828759cd5c1cc688ebfde1091e47c.tar.xz
DTLS: Fixed server support for client_certificate_type extension.
Diffstat (limited to '')
-rw-r--r--crypto/src/tls/DtlsServerProtocol.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/DtlsServerProtocol.cs b/crypto/src/tls/DtlsServerProtocol.cs
index 0116bb9e6..8b2d9db2c 100644
--- a/crypto/src/tls/DtlsServerProtocol.cs
+++ b/crypto/src/tls/DtlsServerProtocol.cs
@@ -712,7 +712,7 @@ namespace Org.BouncyCastle.Tls
             Certificate.ParseOptions options = new Certificate.ParseOptions()
             {
                 CertificateType = TlsExtensionsUtilities.GetClientCertificateTypeExtensionServer(
-                    state.clientExtensions, CertificateType.X509),
+                    state.serverExtensions, CertificateType.X509),
                 MaxChainLength = state.server.GetMaxCertificateChainLength(),
             };