gpgscm: Fix reallocating string ports.
authorJustus Winter <justus@g10code.com>
Thu, 30 Jun 2016 10:45:15 +0000 (12:45 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 30 Jun 2016 13:31:37 +0000 (15:31 +0200)
commit5003caa8fdc80afd5748835c06621014f83e6ec4
tree9e05716b0b8842c476c53ec78c42fd54f6ab643f
parent599ad21104e622acbd1230d90d6a23abf9145499
gpgscm: Fix reallocating string ports.

* tests/gpgscm/scheme.c (realloc_port_string): Use memcpy because
Scheme strings may contain 0s.

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