]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
x509asn1: add some common ECDSA OIDs
authorBo Anderson <mail@boanderson.me>
Sun, 2 Jun 2024 13:17:10 +0000 (14:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 2 Jun 2024 15:30:09 +0000 (17:30 +0200)
Closes #13857

lib/vtls/x509asn1.c

index 150dfd21de4589fe2013eaaa9b06e02712341332..8b517f9085d1d05c76c907230d85b0426ec15634 100644 (file)
@@ -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" },