aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_confirmation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-10 01:01:37 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-10 01:01:37 +0200
commitc014acf3c4ccf03109b0141d6b68d4f464464e19 (patch)
tree936413646c36985cffeb0da81f4f71d27422c48d /src/util/crypto_confirmation.c
parent3ebd0a70b2bba2e64615c0973477a610e117c97a (diff)
downloadexchange-c014acf3c4ccf03109b0141d6b68d4f464464e19.tar.xz
always use GNUNET_memcpy
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);
}