summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-16 15:55:50 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-16 15:55:50 +0100
commit84ccc79881674cdd25d4c0fa24b7c75214865093 (patch)
treef225c88a02c330614f01febd73d8155f3b140725 /src/exchange/taler-exchange-httpd.c
parent69dd5657fc47d881315b6d515941d66e03c9a8bf (diff)
downloadexchange-84ccc79881674cdd25d4c0fa24b7c75214865093.tar.gz
exchange-84ccc79881674cdd25d4c0fa24b7c75214865093.tar.bz2
exchange-84ccc79881674cdd25d4c0fa24b7c75214865093.zip
integrate validation with wire, where it belongs
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index eba6e42a1..4095d00fa 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -42,7 +42,6 @@
#include "taler-exchange-httpd_keystate.h"
#include "taler-exchange-httpd_wire.h"
#include "taler_exchangedb_plugin.h"
-#include "taler-exchange-httpd_validation.h"
/**
@@ -777,10 +776,8 @@ exchange_serve_process_config (void)
"Launching exchange with public key `%s'...\n",
GNUNET_p2s (&TEH_master_public_key.eddsa_pub));
- if ( (GNUNET_OK !=
- TEH_VALIDATION_init (TEH_cfg)) ||
- (GNUNET_OK !=
- TEH_WIRE_init ()) )
+ if (GNUNET_OK !=
+ TEH_WIRE_init (TEH_cfg))
return GNUNET_SYSERR;
@@ -789,7 +786,7 @@ exchange_serve_process_config (void)
{
fprintf (stderr,
"Failed to initialize DB subsystem\n");
- TEH_VALIDATION_done ();
+ TEH_WIRE_done ();
return GNUNET_SYSERR;
}
@@ -800,7 +797,7 @@ exchange_serve_process_config (void)
&serve_unixpath,
&unixpath_mode))
{
- TEH_VALIDATION_done ();
+ TEH_WIRE_done ();
return GNUNET_SYSERR;
}
return GNUNET_OK;
@@ -1311,7 +1308,7 @@ main (int argc,
TEH_KS_free ();
}
TALER_EXCHANGEDB_plugin_unload (TEH_plugin);
- TEH_VALIDATION_done ();
+ TEH_WIRE_done ();
return (GNUNET_SYSERR == ret) ? 1 : 0;
}