LibTLS: Fix supported signature algorithms typo

The ED curve is INTRINSIC/ED25519, not INTRINSIC/ECDSA
This commit is contained in:
stelar7 2023-10-31 01:20:11 +01:00 committed by Andreas Kling
parent fb7b4b9c59
commit a559dca816
Notes: sideshowbarker 2024-07-17 18:13:59 +09:00

View file

@ -164,7 +164,7 @@ struct Options {
{ HashAlgorithm::SHA256, SignatureAlgorithm::RSA },
{ HashAlgorithm::SHA1, SignatureAlgorithm::RSA },
{ HashAlgorithm::SHA256, SignatureAlgorithm::ECDSA },
{ HashAlgorithm::INTRINSIC, SignatureAlgorithm::ECDSA });
{ HashAlgorithm::INTRINSIC, SignatureAlgorithm::ED25519 });
OPTION_WITH_DEFAULTS(Vector<SupportedGroup>, elliptic_curves,
SupportedGroup::X25519,
SupportedGroup::SECP256R1,