diff -r 6c8d5f8a1d6f -r 26f5f817429e libidav/crypto.h --- a/libidav/crypto.h Fri Dec 16 17:16:16 2016 +0100 +++ b/libidav/crypto.h Sat Feb 04 12:41:11 2017 +0100 @@ -47,7 +47,7 @@ #endif typedef struct { - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx; SHA256_CTX sha256; void *stream; dav_write_func write; @@ -58,7 +58,7 @@ } AESDecrypter; typedef struct { - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx; SHA256_CTX sha256; void *iv; size_t ivlen;