diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-15 15:40:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-15 15:40:07 +0100 |
commit | d0f2d8b42677b578e725cae999db7589fbe35e83 (patch) | |
tree | ece65f82b5aea0353e1f6deaed0d56f897eaeb65 /src/mint/taler-mint-httpd_db.c | |
parent | 6404213457fbb9ddd089d556d95d841e21754ff8 (diff) | |
download | exchange-d0f2d8b42677b578e725cae999db7589fbe35e83.tar.gz exchange-d0f2d8b42677b578e725cae999db7589fbe35e83.tar.bz2 exchange-d0f2d8b42677b578e725cae999db7589fbe35e83.zip |
simplify code structure, reduce exposure of keystate struct
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 63bca2ecc..5e57e152d 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -28,7 +28,6 @@ #include <jansson.h> #include "taler-mint-httpd_db.h" #include "taler_signatures.h" -#include "taler-mint-httpd_keys.h" #include "taler-mint-httpd_responses.h" #include "mint_db.h" #include "taler_util.h" @@ -733,7 +732,7 @@ check_commitment (struct MHD_Connection *connection, GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "transfer keys do not match\n"); /* FIXME: return more specific error with original signature (#3712) */ - return (MHD_YES == + return (MHD_YES == TALER_MINT_reply_refresh_reveal_missmatch (connection, off, j, @@ -761,7 +760,7 @@ check_commitment (struct MHD_Connection *connection, &shared_secret)) { GNUNET_break (0); - return (MHD_YES == + return (MHD_YES == TALER_MINT_reply_internal_error (connection, "Decryption error")) ? GNUNET_NO : GNUNET_SYSERR; |