Add BearSSL submodule

Fix common.nim path to BearSSL submodule.
This commit is contained in:
cheatfate 2019-02-20 00:24:43 +02:00
parent 52f88dbd1e
commit 467d8e1db6
3 changed files with 5 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "libp2p/crypto/BearSSL"]
path = libp2p/crypto/BearSSL
url = https://www.bearssl.org/git/BearSSL

1
libp2p/crypto/BearSSL Submodule

@ -0,0 +1 @@
Subproject commit c1bb5356bb52984178c269886b6835b532ef30c2

View File

@ -1,5 +1,4 @@
import strutils
import hexdump
from os import DirSep
when defined(vcc):
@ -7,7 +6,7 @@ when defined(vcc):
const
bearPath = currentSourcePath.rsplit(DirSep, 1)[0] & DirSep &
".." & DirSep & "BearSSL" & DirSep
"BearSSL" & DirSep
bearSrcPath = bearPath & "src"
bearIncPath = bearPath & "inc"
bearIntPath = bearSrcPath & DirSep & "int" & DirSep