diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-05 15:03:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-05 15:03:43 +0200 |
commit | 6040adab4fa2e31f0df1503b9d2ef8c4ae0e1899 (patch) | |
tree | c725e2796f2d30c4f1abf1124e64138aa4a3fbf5 /src/exchange-tools/taler-auditor-sign.c | |
parent | 6b1f4904ef011760f2a5c30698ab62652594fa6c (diff) | |
download | exchange-6040adab4fa2e31f0df1503b9d2ef8c4ae0e1899.tar.xz |
fixing #4461
Diffstat (limited to 'src/exchange-tools/taler-auditor-sign.c')
-rw-r--r-- | src/exchange-tools/taler-auditor-sign.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-auditor-sign.c b/src/exchange-tools/taler-auditor-sign.c index 3652bc9e6..e88953f30 100644 --- a/src/exchange-tools/taler-auditor-sign.c +++ b/src/exchange-tools/taler-auditor-sign.c @@ -216,6 +216,10 @@ main (int argc, "Auditor URL not given\n"); return 1; } + if (GNUNET_YES != GNUNET_DISK_file_test (auditor_key_file)) + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Auditor private key `%s' does not exist yet, creating it!\n", + auditor_key_file); eddsa_priv = GNUNET_CRYPTO_eddsa_key_create_from_file (auditor_key_file); if (NULL == eddsa_priv) { |