Add BearSSL submodule
Fix common.nim path to BearSSL submodule.
This commit is contained in:
parent
52f88dbd1e
commit
467d8e1db6
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "libp2p/crypto/BearSSL"]
|
||||||
|
path = libp2p/crypto/BearSSL
|
||||||
|
url = https://www.bearssl.org/git/BearSSL
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c1bb5356bb52984178c269886b6835b532ef30c2
|
|
@ -1,5 +1,4 @@
|
||||||
import strutils
|
import strutils
|
||||||
import hexdump
|
|
||||||
from os import DirSep
|
from os import DirSep
|
||||||
|
|
||||||
when defined(vcc):
|
when defined(vcc):
|
||||||
|
@ -7,7 +6,7 @@ when defined(vcc):
|
||||||
|
|
||||||
const
|
const
|
||||||
bearPath = currentSourcePath.rsplit(DirSep, 1)[0] & DirSep &
|
bearPath = currentSourcePath.rsplit(DirSep, 1)[0] & DirSep &
|
||||||
".." & DirSep & "BearSSL" & DirSep
|
"BearSSL" & DirSep
|
||||||
bearSrcPath = bearPath & "src"
|
bearSrcPath = bearPath & "src"
|
||||||
bearIncPath = bearPath & "inc"
|
bearIncPath = bearPath & "inc"
|
||||||
bearIntPath = bearSrcPath & DirSep & "int" & DirSep
|
bearIntPath = bearSrcPath & DirSep & "int" & DirSep
|
||||||
|
|
Loading…
Reference in New Issue