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/payto.c | |
parent | 3ebd0a70b2bba2e64615c0973477a610e117c97a (diff) | |
download | exchange-c014acf3c4ccf03109b0141d6b68d4f464464e19.tar.xz |
always use GNUNET_memcpy
Diffstat (limited to 'src/util/payto.c')
-rw-r--r-- | src/util/payto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/payto.c b/src/util/payto.c index 81664b1df..9b0e83e85 100644 --- a/src/util/payto.c +++ b/src/util/payto.c @@ -267,9 +267,9 @@ TALER_payto_hash (const char *payto, &sha512); GNUNET_static_assert (sizeof (sha512) > sizeof (*h_payto)); /* truncate */ - memcpy (h_payto, - &sha512, - sizeof (*h_payto)); + GNUNET_memcpy (h_payto, + &sha512, + sizeof (*h_payto)); } |