diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-06 15:01:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-06 15:01:40 +0200 |
commit | 651298eb21664969908fc6bb8b9b126e953498e4 (patch) | |
tree | e8bcb644e2b2c7e07ca2edddf38b53c7212d4d38 /src/backend/taler-merchant-httpd_auditors.c | |
parent | 3a38124fa780be01a06bb7d3a3c7d51824f256cf (diff) | |
download | merchant-651298eb21664969908fc6bb8b9b126e953498e4.tar.gz merchant-651298eb21664969908fc6bb8b9b126e953498e4.tar.bz2 merchant-651298eb21664969908fc6bb8b9b126e953498e4.zip |
add missing abort() to error handling in /pay transaction, start to use GNUNET_memcmp()
Diffstat (limited to 'src/backend/taler-merchant-httpd_auditors.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_auditors.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c index 494947b3..f4dea05a 100644 --- a/src/backend/taler-merchant-httpd_auditors.c +++ b/src/backend/taler-merchant-httpd_auditors.c @@ -101,9 +101,8 @@ TMH_AUDITORS_check_dk (struct TALER_EXCHANGE_Handle *mh, ai = &keys->auditors[i]; for (unsigned int j=0;j<nauditors;j++) { - if (0 == memcmp (&ai->auditor_pub, - &auditors[j].public_key, - sizeof (struct TALER_AuditorPublicKeyP))) + if (0 == GNUNET_memcmp (&ai->auditor_pub, + &auditors[j].public_key)) { GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Found supported auditor `%s' (%s)\n", |