summaryrefslogtreecommitdiff
path: root/src/util/crypto_confirmation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto_confirmation.c')
-rw-r--r--src/util/crypto_confirmation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/crypto_confirmation.c b/src/util/crypto_confirmation.c
index e52562e3e..bbdf701ec 100644
--- a/src/util/crypto_confirmation.c
+++ b/src/util/crypto_confirmation.c
@@ -90,9 +90,9 @@ compute_totp (struct GNUNET_TIME_Timestamp ts,
mc = gcry_md_read (md,
GCRY_MD_SHA1);
GNUNET_assert (NULL != mc);
- memcpy (hmac,
- mc,
- sizeof (hmac));
+ GNUNET_memcpy (hmac,
+ mc,
+ sizeof (hmac));
gcry_md_close (md);
}