mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-01-08 16:33:07 +00:00
Update BearSSL to latest version.
Update CA certificates to 2020-01-01. Bump version to 0.1.4.
This commit is contained in:
parent
02c575c844
commit
8a9503b6df
@ -1,12 +1,8 @@
|
|||||||
# Package
|
# Package
|
||||||
|
version = "0.1.4"
|
||||||
version = "0.1.3"
|
|
||||||
author = "Status Research & Development GmbH"
|
author = "Status Research & Development GmbH"
|
||||||
description = "BearSSL wrapper"
|
description = "BearSSL wrapper"
|
||||||
license = "MIT or Apache License 2.0"
|
license = "MIT or Apache License 2.0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires "nim >= 0.19.6"
|
requires "nim >= 0.19.6"
|
||||||
|
|||||||
@ -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-2019-08-28.pem
|
## https://curl.haxx.se/ca/cacert-2020-01-01.pem
|
||||||
## And converted to C header using ``brssl ta cacert cacert-2019-08-28.pem``.
|
## And converted to C header using ``brssl ta cacert-2020-01-01.pem > cacert``.
|
||||||
from decls import X509TrustAnchor
|
from decls import X509TrustAnchor
|
||||||
from strutils import rsplit
|
from strutils import rsplit
|
||||||
from os import DirSep
|
from os import DirSep
|
||||||
@ -20,6 +20,6 @@ const CurrentPath = currentSourcePath.rsplit(DirSep, 1)[0]
|
|||||||
{.passC: "-I" & CurrentPath & DirSep & "certs".}
|
{.passC: "-I" & CurrentPath & DirSep & "certs".}
|
||||||
|
|
||||||
var MozillaTrustAnchors* {.
|
var MozillaTrustAnchors* {.
|
||||||
importc: "TAs", header: "cacert20190828.h".}: array[139, X509TrustAnchor]
|
importc: "TAs", header: "cacert20200101.h".}: array[138, X509TrustAnchor]
|
||||||
var MozillaTrustAnchorsCount* {.
|
var MozillaTrustAnchorsCount* {.
|
||||||
importc: "TAs_NUM", header: "cacert20190828.h".}: cint
|
importc: "TAs_NUM", header: "cacert20200101.h".}: cint
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
|||||||
Subproject commit c1bb5356bb52984178c269886b6835b532ef30c2
|
Subproject commit acc70b1be60a6f321e2da618cd35d901b1a598a4
|
||||||
Loading…
x
Reference in New Issue
Block a user