enforce syntax of reserve_uri (typo)

This commit is contained in:
Christian Grothoff 2022-08-23 14:36:23 +02:00
parent b231cc94df
commit f9774ded37
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1023,7 +1023,7 @@ TALER_wallet_purse_merge_sign (
};
GNUNET_assert (0 ==
strcasecmp (reserve_uri,
strncasecmp (reserve_uri,
"payto://taler-reserve",
strlen ("payto://taler-reserve")));
TALER_payto_hash (reserve_uri,
@ -1050,7 +1050,7 @@ TALER_wallet_purse_merge_verify (
};
if (0 !=
strcasecmp (reserve_uri,
strncasecmp (reserve_uri,
"payto://taler-reserve",
strlen ("payto://taler-reserve")))
{