Skip to content

Commit f6620e0

Browse files
fix bug on action transaction
1 parent 5daf61a commit f6620e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/transaction/action/fdefine.action.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ DtwActionTransaction * DtwActionTransaction_write_any(DtwEncriptionInterface *en
5252

5353
self->source = strdup(source);
5454
self->is_binary = is_binary;
55+
if(encryption && encryption_mode == DTW_RAW_MODE){
56+
self->is_binary = true;
57+
}
58+
5559
return self;
5660
}
5761

0 commit comments

Comments
 (0)