f95a3a1
diff -up ./crypto/Sign.c.sign ./crypto/Sign.c
51ae827
--- ./crypto/Sign.c.sign	2016-10-11 17:39:44.000000000 -0400
51ae827
+++ ./crypto/Sign.c	2016-10-14 20:59:49.143754098 -0400
f95a3a1
@@ -13,6 +13,7 @@
4b7aed7
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
f95a3a1
  */
f95a3a1
 
f95a3a1
+#ifdef SUBNODE
f95a3a1
 #include "crypto/Sign.h"
f95a3a1
 
51ae827
 #include "node_build/dependencies/cnacl/crypto_sign/ed25519/ref10/ge.h"
f95a3a1
@@ -110,3 +111,6 @@ int Sign_publicSigningKeyToCurve25519(ui
f95a3a1
 
f95a3a1
     return 0;
f95a3a1
 }
f95a3a1
+#else
f95a3a1
+#pragma GCC diagnostic ignored "-Wpedantic"
51ae827
+#endif // SUBNODE
f95a3a1
diff -up ./crypto/test/Sign_test.c.sign ./crypto/test/Sign_test.c
51ae827
--- ./crypto/test/Sign_test.c.sign	2016-10-11 17:39:44.000000000 -0400
51ae827
+++ ./crypto/test/Sign_test.c	2016-10-14 20:57:28.737064976 -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);
f95a3a1
@@ -42,5 +43,6 @@ int main()
f95a3a1
     Assert_true(!Sign_verifyMsg(&signingKeyPair[32], msg));
f95a3a1
     Assert_true(!Sign_publicSigningKeyToCurve25519(curve25519publicB, &signingKeyPair[32]));
f95a3a1
     Assert_true(!Bits_memcmp(curve25519publicB, curve25519public, 32));
f95a3a1
+#endif  // SUBNODE
f95a3a1
     return 0;
f95a3a1
 }