From: Bo Anderson Date: Sun, 2 Jun 2024 13:17:10 +0000 (+0100) Subject: x509asn1: add some common ECDSA OIDs X-Git-Tag: curl-8_9_0~326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eacec9a35047bc71e83bba12403b990327bc8f8f;p=thirdparty%2Fcurl.git x509asn1: add some common ECDSA OIDs Closes #13857 --- 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" },