X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fdigest.h;h=204048adeec79562865eb7302ee56f1073d20f55;hb=c46bdbde18629f0a0613c776c13a79fea0ec6093;hp=1e149456124aa8bef876bb2f62df1a891115d642;hpb=7b949262c4c01fdeff30a612d43f4b64f1ad426f;p=tinc diff --git a/src/digest.h b/src/digest.h index 1e149456..204048ad 100644 --- a/src/digest.h +++ b/src/digest.h @@ -22,6 +22,8 @@ #define DIGEST_MAX_SIZE 64 +#ifndef DISABLE_LEGACY + typedef struct digest digest_t; extern digest_t *digest_open_by_name(const char *name, int maclength) __attribute__ ((__malloc__)); @@ -37,3 +39,5 @@ extern size_t digest_length(const digest_t *); extern bool digest_active(const digest_t *); #endif + +#endif