|
|
6c40d8f |
diff -up ./crypto/Sign.c.sign ./crypto/Sign.c
|
|
|
6c40d8f |
--- ./crypto/Sign.c.sign 2020-09-18 14:24:44.000000000 -0400
|
|
|
6c40d8f |
+++ ./crypto/Sign.c 2020-09-29 10:25:02.503986487 -0400
|
|
|
6c40d8f |
@@ -210,3 +210,4 @@ int Sign_publicSigningKeyToCurve25519(ui
|
|
|
f95a3a1 |
|
|
|
f95a3a1 |
return 0;
|
|
|
f95a3a1 |
}
|
|
|
f95a3a1 |
+#pragma GCC diagnostic ignored "-Wpedantic"
|
|
|
f95a3a1 |
diff -up ./crypto/test/Sign_test.c.sign ./crypto/test/Sign_test.c
|
|
|
6c40d8f |
--- ./crypto/test/Sign_test.c.sign 2020-09-18 14:24:44.000000000 -0400
|
|
|
6c40d8f |
+++ ./crypto/test/Sign_test.c 2020-09-29 10:25:02.503986487 -0400
|
|
|
f95a3a1 |
@@ -23,6 +23,7 @@
|
|
|
f95a3a1 |
|
|
|
f95a3a1 |
int main()
|
|
|
f95a3a1 |
{
|
|
|
f95a3a1 |
+#ifdef SUBNODE
|
|
|
f95a3a1 |
struct Allocator* alloc = MallocAllocator_new(1048576);
|
|
|
f95a3a1 |
struct Log* logger = FileWriterLog_new(stdout, alloc);
|
|
|
f95a3a1 |
struct Random* rand = Random_new(alloc, logger, NULL);
|
|
|
6c40d8f |
@@ -44,5 +45,6 @@ int main()
|
|
|
f95a3a1 |
Assert_true(!Bits_memcmp(curve25519publicB, curve25519public, 32));
|
|
|
6c40d8f |
|
|
|
6c40d8f |
Allocator_free(alloc);
|
|
|
f95a3a1 |
+#endif // SUBNODE
|
|
|
f95a3a1 |
return 0;
|
|
|
f95a3a1 |
}
|