Home GnuPG
Diffusion GnuPG f1dc34f502a6

gpgscm: Avoid mutating integer.

Description

gpgscm: Avoid mutating integer.

* tests/gpgscm/scheme.c (opexe_5): Do not modify the integer in-place
while printing an vector.  Integer objects may be shared, so they must
not be mutated.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Apr 6 2017, 4:24 PM
Parents
rGb83903f59ec5: gpgscm: Initialize unused slots in vectors.
Branches
Unknown
Tags
Unknown