diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..45f96cbd9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libp2p/crypto/BearSSL"] + path = libp2p/crypto/BearSSL + url = https://www.bearssl.org/git/BearSSL diff --git a/libp2p/crypto/BearSSL b/libp2p/crypto/BearSSL new file mode 160000 index 000000000..c1bb5356b --- /dev/null +++ b/libp2p/crypto/BearSSL @@ -0,0 +1 @@ +Subproject commit c1bb5356bb52984178c269886b6835b532ef30c2 diff --git a/libp2p/crypto/common.nim b/libp2p/crypto/common.nim index ffa8d4d09..145212223 100644 --- a/libp2p/crypto/common.nim +++ b/libp2p/crypto/common.nim @@ -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