test/crypto.c

branch
v1.2
changeset 481
ff477f1f7765
parent 308
82275f589d8d
--- a/test/crypto.c	Sun Oct 07 09:14:03 2018 +0200
+++ b/test/crypto.c	Thu Oct 11 19:29:45 2018 +0200
@@ -268,7 +268,7 @@
             pbuf->pos = 0;
             pbuf->size = 0;
 
-            AESEncrypter *enc = aes_encrypter_new(key, data, (dav_read_func)ucx_buffer_read);
+            AESEncrypter *enc = aes_encrypter_new(key, data, (dav_read_func)ucx_buffer_read, NULL);
             char buf[1024];
             size_t r = 0;
             while((r = aes_read(buf, 1, 1024, enc)) != 0) {

mercurial