summaryrefslogtreecommitdiff
path: root/ct_servmgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ct_servmgmt.c')
-rw-r--r--ct_servmgmt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ct_servmgmt.c b/ct_servmgmt.c
index 143b03a..38eb9c5 100644
--- a/ct_servmgmt.c
+++ b/ct_servmgmt.c
@@ -18,13 +18,8 @@
#include "xmalloc.h"
#include "curvetun.h"
#include "curve.h"
+#include "crypto.h"
#include "ct_servmgmt.h"
-#include "crypto_box_curve25519xsalsa20poly1305.h"
-#include "crypto_auth_hmacsha512256.h"
-
-#define crypto_box_pub_key_size crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
-
-/* Config line format: alias;serverip|servername;port;udp|tcp;pubkey\n */
struct server_store {
int udp;