summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-11 16:52:24 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-11 16:52:24 -0400
commit64521a9d355da9f21d81c8a82056e544372685b2 (patch)
treea3ce5b736e41db284f4ae2b5a925ac5195c77acf /src/ext/ed25519/ref10
parent77e2be06f6ff9c7328144fe5df3e3bac64106449 (diff)
parent25513ae174d80a62ca0a8dcca52683089be95ea3 (diff)
downloadtor-64521a9d355da9f21d81c8a82056e544372685b2.tar.gz
tor-64521a9d355da9f21d81c8a82056e544372685b2.zip
Merge remote-tracking branch 'public/solaris_warnings_028'
Diffstat (limited to 'src/ext/ed25519/ref10')
-rw-r--r--src/ext/ed25519/ref10/keypair.c3
-rw-r--r--src/ext/ed25519/ref10/open.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ext/ed25519/ref10/keypair.c b/src/ext/ed25519/ref10/keypair.c
index 7ddbaa971e..68a88f9adc 100644
--- a/src/ext/ed25519/ref10/keypair.c
+++ b/src/ext/ed25519/ref10/keypair.c
@@ -1,6 +1,7 @@
/* Modified for Tor: new API, 64-byte secret keys. */
-#include <string.h>
+
#include "randombytes.h"
+#include <string.h>
#include "crypto_sign.h"
#include "crypto_hash_sha512.h"
#include "ge.h"
diff --git a/src/ext/ed25519/ref10/open.c b/src/ext/ed25519/ref10/open.c
index 9dbeb4cdd0..3ab7b7d6e7 100644
--- a/src/ext/ed25519/ref10/open.c
+++ b/src/ext/ed25519/ref10/open.c
@@ -1,6 +1,7 @@
/* (Modified by Tor to verify signature separately from message) */
-#include <string.h>
+
#include "crypto_sign.h"
+#include <string.h>
#include "crypto_hash_sha512.h"
#include "crypto_verify_32.h"
#include "ge.h"