Home GnuPG

cpp: Make GpgME::Data::toKeys really const

Description

cpp: Make GpgME::Data::toKeys really const

* lang/cpp/src/data.cpp (GpgME::Data::toKeys): Rewind afterards.

This fixes unexpected behavior that the seek pointer is changed
after calling the const toKeys.

Details

Provenance
aheineckeAuthored on Feb 21 2019, 1:04 PM
Parents
rGPGMEPP8880b461a48a: build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
Branches
Unknown
Tags
Unknown