Skip to content
Snippets Groups Projects
Unverified Commit ec4b129c authored by Jannis Konrad's avatar Jannis Konrad Committed by GitHub
Browse files

Merge pull request #14 from marthilda/tinyDtlsUpdate

Update for the tinyDTLS submodule using a github source repo
parents e31e52b9 a738e944
No related branches found
No related tags found
No related merge requests found
[submodule "tinydtls"]
[submodule "DTLSSocket/tinydtls"]
path = DTLSSocket/tinydtls
url = https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls
url = https://github.com/eclipse/tinydtls.git
Subproject commit 9a3496119688047b6d8b79826f13425397d92e10
Subproject commit 1f1bc2ab571ad67df55f3723b8d4aac98710acb9
......@@ -17,8 +17,7 @@ class prepare_tinydtls(build_ext):
sys.exit(1)
commands = [
["sh", "-c", "autoconf"],
["sh", "-c", "autoheader"],
["sh", "-c", "./autogen.sh"],
["sh", "-c", "./configure"], # no --without-ecc
]
if not os.path.exists(os.path.join(os.path.dirname(__file__), 'DTLSSocket','tinydtls','dtls.c')):
......@@ -56,6 +55,7 @@ setup(
"DTLSSocket/tinydtls/peer.c",
"DTLSSocket/tinydtls/session.c",
"DTLSSocket/tinydtls/aes/rijndael.c",
"DTLSSocket/tinydtls/aes/rijndael_wrap.c",
"DTLSSocket/tinydtls/sha2/sha2.c",
"DTLSSocket/tinydtls/platform-specific/dtls_prng_posix.c",
],
......@@ -65,6 +65,7 @@ setup(
('DTLS_CHECK_CONTENTTYPE', '1'),
('_GNU_SOURCE', '1'),
('NDEBUG', '1'),
('uint8_t', 'u_int8_t'),
],
# undef_macros = [ "NDEBUG" ],
),]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment