summaryrefslogtreecommitdiff
path: root/extra/rma_reset/rma_reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rma_reset/rma_reset.c')
-rw-r--r--extra/rma_reset/rma_reset.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/extra/rma_reset/rma_reset.c b/extra/rma_reset/rma_reset.c
index 4c2ce76803..d437b63f1a 100644
--- a/extra/rma_reset/rma_reset.c
+++ b/extra/rma_reset/rma_reset.c
@@ -3,28 +3,27 @@
* found in the LICENSE file.
*/
-#include "base32.h"
-#include "curve25519.h"
-#include "rma_auth.h"
-#include "sha256.h"
-
#include <ctype.h>
-#include <errno.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-
#include <endian.h>
+#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/obj_mac.h>
#include <openssl/rand.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
#include <unistd.h>
+#include "rma_auth.h"
+#include "curve25519.h"
+#include "sha256.h"
+#include "base32.h"
+
#define EC_COORDINATE_SZ 32
#define EC_PRIV_KEY_SZ 32
#define EC_P256_UNCOMPRESSED_PUB_KEY_SZ (EC_COORDINATE_SZ * 2 + 1)