projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a smarter algorithm for choosing MTU discovery probe sizes.
[tinc]
/
src
/
digest.h
diff --git
a/src/digest.h
b/src/digest.h
index
1e14945
..
204048a
100644
(file)
--- 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