summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-26 16:13:17 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-26 16:13:17 +0200
commit0be3dd471195862bc96e4b3a8f54cbdda955fd71 (patch)
treefc5e06746b74415e05e10e673332f5cc6082d75f /src/exchange
parent3a2f72b4aad3c2719e4326d30a97e49e26b5d797 (diff)
downloadexchange-0be3dd471195862bc96e4b3a8f54cbdda955fd71.tar.gz
exchange-0be3dd471195862bc96e4b3a8f54cbdda955fd71.tar.bz2
exchange-0be3dd471195862bc96e4b3a8f54cbdda955fd71.zip
adding signature verification logic for new link signatures to libtalerexchange
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_link.c2
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_link.c b/src/exchange/taler-exchange-httpd_refresh_link.c
index 04145f48d..b6712f75c 100644
--- a/src/exchange/taler-exchange-httpd_refresh_link.c
+++ b/src/exchange/taler-exchange-httpd_refresh_link.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2017 Inria & GNUnet e.V.
+ Copyright (C) 2014-2019 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 2f6d0b14e..d34c85a92 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2017 Inria & GNUnet e.V.
+ Copyright (C) 2014-2019 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
@@ -730,7 +730,6 @@ handle_refresh_reveal_json (struct MHD_Connection *connection,
GNUNET_CRYPTO_hash (rcds[i].coin_ev,
rcds[i].coin_ev_size,
&ldp.coin_envelope_hash);
-
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_LINK,
&ldp.purpose,