libidav/crypto.c

changeset 692
56b66fe2b4f5
parent 691
48ec0ab17011
child 728
35a421f441d5
--- a/libidav/crypto.c	Thu Dec 05 10:46:39 2019 +0100
+++ b/libidav/crypto.c	Thu Dec 05 12:37:48 2019 +0100
@@ -1239,7 +1239,7 @@
     
     // encrypt
     int flags = 0;
-    if(inlen % 16 != 0 || enc->end) {
+    if(inlen % 16 != 0) {
         enc->end = 1;
     }
     if(enc->end) {

mercurial