diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-19 02:23:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:50:12 +0200 |
commit | af28c9b449b145fd365d416f8ba8cf6fdab6bfcf (patch) | |
tree | 1887fc33c47093671667453c1d990a8a15442b55 | |
parent | 9ed9c018788dd7751dcc306a24615e76e65bec48 (diff) | |
download | exchange-af28c9b449b145fd365d416f8ba8cf6fdab6bfcf.tar.gz exchange-af28c9b449b145fd365d416f8ba8cf6fdab6bfcf.zip |
fix auditor drop
-rw-r--r-- | src/auditordb/drop0001.sql | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/auditordb/drop0001.sql b/src/auditordb/drop0001.sql index 80f953e32..8e42c8094 100644 --- a/src/auditordb/drop0001.sql +++ b/src/auditordb/drop0001.sql | |||
@@ -43,8 +43,8 @@ DROP TABLE IF EXISTS auditor_denominations CASCADE; | |||
43 | DROP TABLE IF EXISTS deposit_confirmations CASCADE; | 43 | DROP TABLE IF EXISTS deposit_confirmations CASCADE; |
44 | DROP TABLE IF EXISTS auditor_exchanges CASCADE; | 44 | DROP TABLE IF EXISTS auditor_exchanges CASCADE; |
45 | 45 | ||
46 | -- Drop versioning (0000.sql) | 46 | -- Drop versioning (auditor-0001.sql) |
47 | DROP SCHEMA IF EXISTS _v CASCADE; | 47 | SELECT _v.unregister_patch('auditor-0001'); |
48 | 48 | ||
49 | -- And we're out of here... | 49 | -- And we're out of here... |
50 | COMMIT; | 50 | COMMIT; |
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index c14b85d9b..fbb5da356 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c | |||
@@ -801,7 +801,7 @@ reload_keys_denom_iter (void *cls, | |||
801 | handle_signal (SIGTERM); | 801 | handle_signal (SIGTERM); |
802 | return GNUNET_SYSERR; | 802 | return GNUNET_SYSERR; |
803 | } | 803 | } |
804 | 804 | GNUNET_assert (NULL != dki->denom_priv.rsa_private_key); | |
805 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 805 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
806 | "Adding denomination key `%s' (%s) to active set\n", | 806 | "Adding denomination key `%s' (%s) to active set\n", |
807 | alias, | 807 | alias, |
@@ -1660,6 +1660,9 @@ reload_public_denoms_cb ( | |||
1660 | GNUNET_h2s (&issue->properties.denom_hash)); | 1660 | GNUNET_h2s (&issue->properties.denom_hash)); |
1661 | return; | 1661 | return; |
1662 | } | 1662 | } |
1663 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1664 | "Loaded denomination key %s from DB, no private key (hopefully revoked!)\n", | ||
1665 | GNUNET_h2s (&issue->properties.denom_hash)); | ||
1663 | /* we can assert here as we checked for duplicates just above */ | 1666 | /* we can assert here as we checked for duplicates just above */ |
1664 | GNUNET_assert (GNUNET_OK == ret); | 1667 | GNUNET_assert (GNUNET_OK == ret); |
1665 | } | 1668 | } |