summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r--src/mint/taler-mint-httpd.c26
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,