GPGME Cannot allocate memory on gpgme_op_decrypt_start

Werner Koch wk at gnupg.org
Fri Jun 25 15:04:20 CEST 2021


On Fri, 25 Jun 2021 09:39, Marco said:

>   err = gpgme_data_new_from_file(&in, input.string().c_str(), 1);

The 1 means copy the data to an internal buffer.  Use 0 here to stream
the data.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210625/a5282e89/attachment.sig>


More information about the Gnupg-users mailing list