diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
commit | 5fcca8707f4a4fd6568095872a1bb6e7124ee508 (patch) | |
tree | 67abfe3474c48ee2e8b1c8f3ce95734a767840c2 /src/mint/taler-mint-httpd.c | |
parent | 8c558ddf89f12cd282154de3c9bdb295d45fbcfb (diff) | |
download | exchange-5fcca8707f4a4fd6568095872a1bb6e7124ee508.tar.xz |
simplify logic, remove dead call
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r-- | src/mint/taler-mint-httpd.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index d22f8af60..c4c63c077 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -56,11 +56,6 @@ struct GNUNET_CONFIGURATION_Handle *cfg; struct GNUNET_CRYPTO_EddsaPublicKey master_pub; /** - * Private key of the mint we use to sign messages. - */ -struct GNUNET_CRYPTO_EddsaPrivateKey mint_priv; - -/** * The HTTP Daemon. */ static struct MHD_Daemon *mydaemon; @@ -236,7 +231,6 @@ mint_serve_process_config (const char *mint_directory) unsigned long long port; unsigned long long kappa; char *master_pub_str; - char *mint_priv_str; char *db_cfg; cfg = TALER_config_load (mint_directory); @@ -266,26 +260,6 @@ mint_serve_process_config (const char *mint_directory) return GNUNET_NO; } GNUNET_free (master_pub_str); - if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "mint", "mint_priv", - &mint_priv_str)) - { - fprintf (stderr, - "No master public key given in mint configuration."); - return GNUNET_NO; - } - if (GNUNET_OK != - GNUNET_CRYPTO_eddsa_private_key_from_string (mint_priv_str, - strlen (mint_priv_str), - &mint_priv)) - { - fprintf (stderr, - "Invalid mint private key given in mint configuration."); - GNUNET_free (mint_priv_str); - return GNUNET_NO; - } - GNUNET_free (mint_priv_str); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, |