Bump bundled cacert.pem to version generated at Tue Jan 19 04:12:04 2021 GMT. (#18)

This commit is contained in:
Eugene Kabanov 2021-02-24 14:23:05 +02:00 committed by GitHub
parent 8dd9a83550
commit 0a7401ad46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7412 additions and 4 deletions

View File

@ -9,8 +9,8 @@
## This module provides access to Mozilla's CA certificate store in PEM format. ## This module provides access to Mozilla's CA certificate store in PEM format.
## This certificate store was downloaded from ## This certificate store was downloaded from
## https://curl.haxx.se/ca/cacert-2020-06-24.pem ## https://curl.haxx.se/ca/cacert.pem
## And converted to C header using ``brssl ta cacert-2020-06-24.pem > cacert``. ## And converted to C header using ``brssl ta cacert.pem > cacert.h``.
from decls import X509TrustAnchor from decls import X509TrustAnchor
from strutils import rsplit from strutils import rsplit
from os import DirSep, AltSep from os import DirSep, AltSep
@ -20,6 +20,6 @@ const CurrentPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0]
{.passC: "-I" & CurrentPath & "/certs".} {.passC: "-I" & CurrentPath & "/certs".}
var MozillaTrustAnchors* {. var MozillaTrustAnchors* {.
importc: "TAs", header: "cacert20200624.h".}: array[138, X509TrustAnchor] importc: "TAs", header: "cacert20210119.h".}: array[129, X509TrustAnchor]
var MozillaTrustAnchorsCount* {. var MozillaTrustAnchorsCount* {.
importc: "TAs_NUM", header: "cacert20200624.h".}: cint importc: "TAs_NUM", header: "cacert20210119.h".}: cint

File diff suppressed because it is too large Load Diff