diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:01:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:01:37 +0200 |
commit | c014acf3c4ccf03109b0141d6b68d4f464464e19 (patch) | |
tree | 936413646c36985cffeb0da81f4f71d27422c48d /src/util/crypto_confirmation.c | |
parent | 3ebd0a70b2bba2e64615c0973477a610e117c97a (diff) | |
download | exchange-c014acf3c4ccf03109b0141d6b68d4f464464e19.tar.xz |
always use GNUNET_memcpy
Diffstat (limited to 'src/util/crypto_confirmation.c')
-rw-r--r-- | src/util/crypto_confirmation.c | 6 |
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); } |