cpp: Make GpgME::Data::toKeys really const
authorAndre Heinecke <aheinecke@gnupg.org>
Thu, 21 Feb 2019 12:04:54 +0000 (13:04 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Thu, 21 Feb 2019 12:04:54 +0000 (13:04 +0100)
commit6175025c822678102c3f089e37952aa84b19a3ec
treeba446595670b04625e171913c3e15f14bd057ccf
parent4c49417cc0dbd7f34269aff00fccafba150af744
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.
lang/cpp/src/data.cpp