mirror of
https://github.com/codex-storage/nim-libp2p.git
synced 2025-01-12 20:14:09 +00:00
Add BearSSL submodule
Fix common.nim path to BearSSL submodule.
This commit is contained in:
parent
52f88dbd1e
commit
467d8e1db6
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
1
libp2p/crypto/BearSSL
Submodule
@ -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…
x
Reference in New Issue
Block a user