diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-10 16:35:20 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-10 16:35:20 +0700 |
commit | 45fc4e6a632828759cd5c1cc688ebfde1091e47c (patch) | |
tree | 347a5f524fceb96a97904a145868485dffd93d91 /crypto/src | |
parent | DTLS: refactoring around extended_master_secret (diff) | |
download | BouncyCastle.NET-ed25519-45fc4e6a632828759cd5c1cc688ebfde1091e47c.tar.xz |
DTLS: Fixed server support for client_certificate_type extension.
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/tls/DtlsServerProtocol.cs | 2 |
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(), }; |