Replace pointers to cipher_t/digest_t in connection_t with structs.
[tinc] / src / openssl / cipher.h
diff --git a/src/openssl/cipher.h b/src/openssl/cipher.h
new file mode 100644 (file)
index 0000000..6f3e6b7
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef TINC_OPENSSL_CIPHER_H
+#define TINC_OPENSSL_CIPHER_H
+
+#include <openssl/evp.h>
+
+struct cipher {
+       EVP_CIPHER_CTX *ctx;
+       const EVP_CIPHER *cipher;
+};
+
+#endif