Skip to content

Commit

Permalink
DSA cert is not generated anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jan 17, 2024
1 parent 9b753dc commit 52fa63a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/test/HandshakeSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,7 @@ handshake_client_auth (clientParam, serverParam) = do
{ onClientCertificate = validateChain cred
}
}
let shouldFail = version == TLS13 && isCredentialDSA cred
if shouldFail
then runTLSFailure (clientParam', serverParam') handshake handshake
else runTLSSimple (clientParam', serverParam')
runTLSSimple (clientParam', serverParam')
where
validateChain cred chain
| chain == fst cred = return CertificateUsageAccept
Expand Down

0 comments on commit 52fa63a

Please sign in to comment.