gpgscm: Fix printing strings containing zero bytes.
authorJustus Winter <justus@g10code.com>
Fri, 4 Nov 2016 12:45:30 +0000 (13:45 +0100)
committerJustus Winter <justus@g10code.com>
Fri, 4 Nov 2016 12:45:30 +0000 (13:45 +0100)
commit1f45878a72f23d4bae08d73b614096b485f35274
treed6003ad9080daba09931524ae94bce745cac8948
parent43f8006f5c75e3d15fe200e2fa41587a73bfb07b
gpgscm: Fix printing strings containing zero bytes.

* tests/gpgscm/scheme.c (atom2str): Fix computing the length of Scheme
strings.  Scheme strings can contain zero bytes.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c