From eacec9a35047bc71e83bba12403b990327bc8f8f Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sun, 2 Jun 2024 14:17:10 +0100 Subject: [PATCH] x509asn1: add some common ECDSA OIDs Closes #13857 --- lib/vtls/x509asn1.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vtls/x509asn1.c b/lib/vtls/x509asn1.c index 150dfd21de..8b517f9085 100644 --- a/lib/vtls/x509asn1.c +++ b/lib/vtls/x509asn1.c @@ -119,6 +119,10 @@ static const struct Curl_OID OIDtable[] = { { "1.2.840.10045.2.1", "ecPublicKey" }, { "1.2.840.10045.3.0.1", "c2pnb163v1" }, { "1.2.840.10045.4.1", "ecdsa-with-SHA1" }, + { "1.2.840.10045.4.3.1", "ecdsa-with-SHA224" }, + { "1.2.840.10045.4.3.2", "ecdsa-with-SHA256" }, + { "1.2.840.10045.4.3.3", "ecdsa-with-SHA384" }, + { "1.2.840.10045.4.3.4", "ecdsa-with-SHA512" }, { "1.2.840.10046.2.1", "dhpublicnumber" }, { "1.2.840.113549.1.1.1", "rsaEncryption" }, { "1.2.840.113549.1.1.2", "md2WithRSAEncryption" }, -- 2.47.3