mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-01-10 17:33:09 +00:00
Bump bundled cacert.pem to version generated at Tue Jan 19 04:12:04 2021 GMT. (#18)
This commit is contained in:
parent
8dd9a83550
commit
0a7401ad46
@ -9,8 +9,8 @@
|
||||
|
||||
## This module provides access to Mozilla's CA certificate store in PEM format.
|
||||
## This certificate store was downloaded from
|
||||
## https://curl.haxx.se/ca/cacert-2020-06-24.pem
|
||||
## And converted to C header using ``brssl ta cacert-2020-06-24.pem > cacert``.
|
||||
## https://curl.haxx.se/ca/cacert.pem
|
||||
## And converted to C header using ``brssl ta cacert.pem > cacert.h``.
|
||||
from decls import X509TrustAnchor
|
||||
from strutils import rsplit
|
||||
from os import DirSep, AltSep
|
||||
@ -20,6 +20,6 @@ const CurrentPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0]
|
||||
{.passC: "-I" & CurrentPath & "/certs".}
|
||||
|
||||
var MozillaTrustAnchors* {.
|
||||
importc: "TAs", header: "cacert20200624.h".}: array[138, X509TrustAnchor]
|
||||
importc: "TAs", header: "cacert20210119.h".}: array[129, X509TrustAnchor]
|
||||
var MozillaTrustAnchorsCount* {.
|
||||
importc: "TAs_NUM", header: "cacert20200624.h".}: cint
|
||||
importc: "TAs_NUM", header: "cacert20210119.h".}: cint
|
||||
|
||||
7408
bearssl/certs/cacert20210119.h
Normal file
7408
bearssl/certs/cacert20210119.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user