commit 33679d241f5f0d25af328a28d6796a41d6c35e4e
parent 12ecd39b11add96108abc759c7f192d827997cb8
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 9 Oct 2026 22:09:16 +0200
-fix warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kyclogic/plugin_kyclogic_oauth2.c b/src/kyclogic/plugin_kyclogic_oauth2.c
@@ -625,6 +625,7 @@ compute_state (const struct TALER_KYCLOGIC_ProviderDetails *pd,
char *tags;
char *state;
+ GNUNET_static_assert (sizeof (tag) <= sizeof (hmac));
memcpy (msg,
context,
sizeof (context));
@@ -639,7 +640,6 @@ compute_state (const struct TALER_KYCLOGIC_ProviderDetails *pd,
msg,
sizeof (msg),
&hmac);
- GNUNET_static_assert (sizeof (tag) <= sizeof (hmac));
memcpy (&tag,
&hmac,
sizeof (tag));