From 26b173d328e36e423ff7765df5b3fc75abb6a1d9 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 4 Jun 2013 13:07:06 +0200 Subject: crypto: add crypto header with includes and defines Add another header with includes and defines, so that we can reduce double-definitions, and shorten long text strings. Signed-off-by: Daniel Borkmann --- ct_servmgmt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ct_servmgmt.c') 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; -- cgit v1.2.3-54-g00ecf