X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fgcrypt%2Fcipher.h;h=5f93a384ab563d30e96f449e7fd20108677cd900;hb=90cde91141ec61be4354d8deab21edb8fdf01022;hp=2067db68c87f3f7bfd48c09d5e465e7b91bd1add;hpb=8cb4dbb04af15e95e9a302670a4c6fd21e0ebfd6;p=tinc diff --git a/src/gcrypt/cipher.h b/src/gcrypt/cipher.h index 2067db68..5f93a384 100644 --- a/src/gcrypt/cipher.h +++ b/src/gcrypt/cipher.h @@ -24,13 +24,15 @@ #include -struct cipher { +#include "../legacy.h" + +typedef struct cipher { gcry_cipher_hd_t handle; uint8_t *key; - int nid; + nid_t nid; uint16_t keylen; uint16_t blklen; bool padding; -}; +} cipher_t; #endif