Fix decrypt issue

This commit is contained in:
QRouland committed 2025-02-04 16:36:00 +01:00
1 parent 72a3a8fbcc
commit fc02000b89
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ void DecryptJob::run()
ret = rnp_output_memory_get_buf(output, &buf, &buf_len, false);
}
if (ret == RNP_SUCCESS) {
data = QString::fromUtf8((char*)buf);
data = QString::fromUtf8((char*)buf, buf_len);
}
rnp_input_destroy(input);