X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcipher.h;h=f194c0dc64b568de4a4ea3aa2d6e45e7f514f6ba;hb=cfe9285adf391ab66faeb5def811fe08e47a221a;hp=47cd1cdc6813acf985f9260dce1c0adff59361f6;hpb=8d32b283b016e205b051b0bacb49a1e86fd5e1bc;p=tinc diff --git a/src/cipher.h b/src/cipher.h index 47cd1cdc..f194c0dc 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -24,6 +24,8 @@ #define CIPHER_MAX_IV_SIZE 16 #define CIPHER_MAX_KEY_SIZE 32 +#ifndef DISABLE_LEGACY + typedef struct cipher cipher_t; extern cipher_t *cipher_open_by_name(const char *) __attribute__ ((__malloc__)); @@ -40,3 +42,5 @@ extern int cipher_get_nid(const cipher_t *); extern bool cipher_active(const cipher_t *); #endif + +#endif