1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-03-27 18:44:53 +00:00

Fix decrypt issue

This commit is contained in:
Quentin Rouland 2025-02-04 16:36:00 +01:00
parent 72a3a8fbcc
commit fc02000b89

View File

@ -35,7 +35,7 @@ void DecryptJob::run()
ret = rnp_output_memory_get_buf(output, &buf, &buf_len, false); ret = rnp_output_memory_get_buf(output, &buf, &buf_len, false);
} }
if (ret == RNP_SUCCESS) { if (ret == RNP_SUCCESS) {
data = QString::fromUtf8((char*)buf); data = QString::fromUtf8((char*)buf, buf_len);
} }
rnp_input_destroy(input); rnp_input_destroy(input);