Merge pull request #10 from status-im/update-upstream

Update BearSSL to upstream version.
This commit is contained in:
Eugene Kabanov 2020-07-06 16:25:59 +03:00 committed by GitHub
commit 33b2303fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7968 additions and 5 deletions

View File

@ -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-01-01.pem
## And converted to C header using ``brssl ta cacert-2020-01-01.pem > cacert``.
## https://curl.haxx.se/ca/cacert-2020-06-24.pem
## And converted to C header using ``brssl ta cacert-2020-06-24.pem > cacert``.
from decls import X509TrustAnchor
from strutils import rsplit
from os import DirSep
@ -20,6 +20,6 @@ const CurrentPath = currentSourcePath.rsplit(DirSep, 1)[0]
{.passC: "-I" & CurrentPath & DirSep & "certs".}
var MozillaTrustAnchors* {.
importc: "TAs", header: "cacert20200101.h".}: array[138, X509TrustAnchor]
importc: "TAs", header: "cacert20200624.h".}: array[138, X509TrustAnchor]
var MozillaTrustAnchorsCount* {.
importc: "TAs_NUM", header: "cacert20200101.h".}: cint
importc: "TAs_NUM", header: "cacert20200624.h".}: cint

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit acc70b1be60a6f321e2da618cd35d901b1a598a4
Subproject commit dda1f8a0c46e15b4a235163470ff700b2f13dcc5