projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug in shortest path implementation
[tinc]
/
src
/
gcrypt
/
cipher.h
diff --git
a/src/gcrypt/cipher.h
b/src/gcrypt/cipher.h
index
2067db6
..
5f93a38
100644
(file)
--- a/
src/gcrypt/cipher.h
+++ b/
src/gcrypt/cipher.h
@@
-24,13
+24,15
@@
#include <gcrypt.h>
-struct cipher {
+#include "../legacy.h"
+
+typedef struct cipher {
gcry_cipher_hd_t handle;
uint8_t *key;
-
in
t nid;
+
nid_
t nid;
uint16_t keylen;
uint16_t blklen;
bool padding;
-};
+}
cipher_t
;
#endif