projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure we are compatible with LibreSSL.
[tinc]
/
src
/
gcrypt
/
digest.h
diff --git
a/src/gcrypt/digest.h
b/src/gcrypt/digest.h
index
a83535d
..
2ba5be2
100644
(file)
--- a/
src/gcrypt/digest.h
+++ b/
src/gcrypt/digest.h
@@
-22,9
+22,13
@@
#include <gcrypt.h>
#include <gcrypt.h>
+#include "../legacy.h"
+
+typedef enum gcry_md_algos md_algo_t;
+
typedef struct digest {
typedef struct digest {
-
enum gcry_md_algos
algo;
-
in
t nid;
+
md_algo_t
algo;
+
nid_
t nid;
size_t maclength;
gcry_md_hd_t hmac;
} digest_t;
size_t maclength;
gcry_md_hd_t hmac;
} digest_t;