Minor type improvements in legacy protocol code
[tinc] / src / openssl / cipher.h
index 360596c..e5404a6 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