libidav/crypto.h

changeset 260
26f5f817429e
parent 234
33f373b28c8c
child 349
0b4ecadaf3f9
--- 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;

mercurial