summaryrefslogtreecommitdiff
path: root/tests/hashtest.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-04-13 11:48:33 +0200
committerWerner Koch <wk@gnupg.org>2015-04-13 11:48:33 +0200
commit9fca46864e1b5a9c788072113589454adb89fa97 (patch)
tree4d6a892bade0bfb60be9bedbde2f67f477817d9d /tests/hashtest.c
parent6e31a2805c5e808fe50a0c2529823f6501db2d38 (diff)
downloadlibgcrypt-9fca46864e1b5a9c788072113589454adb89fa97.tar.gz
mpi: Fix gcry_mpi_copy for NULL opaque data.
* mpi/mpiutil.c (_gcry_mpi_copy): Copy opaque only if needed. -- gcry_mpi_set_opaque allows to store NULL as opaque data. Thus we also need to take care when copying such data. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/hashtest.c')
0 files changed, 0 insertions, 0 deletions