summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--setup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup.c b/setup.c
index 5517d7e..633a1f4 100644
--- a/setup.c
+++ b/setup.c
@@ -19,7 +19,6 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/syslimits.h>
 #include <sysexits.h>
 #include <unistd.h>
 
@@ -27,8 +26,8 @@ int main(int argc, char *argv[]) {
     if (argc < 2) return EX_USAGE;
 
     uint32_t key[4];
-    char public[PATH_MAX];
-    char private[PATH_MAX];
+    char public[7 + 32 + 1];
+    char private[8 + 32 + 1];
 
     snprintf(public, sizeof(public), "public/%s", argv[1]);
     arc4random_buf(key, sizeof(key));