commit 15f07a3e067dac4a1268cfd2b2fb44e3ade1c105
parent 383fd75230fc5301d432f50e4cb3474a59cb33e8
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 4 Aug 2021 14:05:13 +0200
-document section name
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -144,3 +144,4 @@ po/stamp-po
po/taler-exchange.pot
po/remove-potcdate.sed
src/include/taler_dbevents.h
+src/bank-lib/taler-exchange-wire-gateway-client
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c
@@ -601,6 +601,16 @@ run (void *cls,
rc = GNUNET_CURL_gnunet_rc_create (ctx);
if (NULL != account_section)
{
+ if (0 != strncasecmp ("exchange-accountcredentials-"
+ account_section,
+ strlen ("exchange-accountcredentials-")))
+ {
+ fprintf (stderr,
+ "Error: invalid section specified, must begin with `%s`\n",
+ "exchange-accountcredentials-");
+ GNUNET_SCHEDULER_shutdown ();
+ return;
+ }
if ( (NULL != auth.wire_gateway_url) ||
(NULL != auth.details.basic.username) ||
(NULL != auth.details.basic.password) )