commit c7aa98f926c33adce7c883842e57a71a00051fb1 parent 70ba42e55ba5c68a54f5690728c9ece9d029fe6e Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 5 May 2016 15:03:50 +0200 fixing #4461 Diffstat:
| M | src/backend/taler-merchant-httpd.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c @@ -553,6 +553,10 @@ run (void *cls, GNUNET_SCHEDULER_shutdown (); return; } + if (GNUNET_YES != GNUNET_DISK_file_test (filename)) + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Merchant private key `%s' does not exist yet, creating it!\n", + filename); if (NULL == (privkey = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile)))