]> tinc-vpn.org Git - tinc/blobdiff - src/openssl/cipher.h
Minor type improvements in legacy protocol code
[tinc] / src / openssl / cipher.h
index 360596c6c7d0d27758a0f2f7a59c0790d4819ce3..e5404a60382004956e6f77107f4c06661b292a54 100644 (file)
 
 #include <openssl/evp.h>
 
-struct cipher {
+#include "../legacy.h"
+
+typedef struct cipher {
        EVP_CIPHER_CTX *ctx;
        const EVP_CIPHER *cipher;
-};
+} cipher_t;
 
 #endif