diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
| -rw-r--r-- | src/exchange/taler-exchange-httpd.c | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index eb0ddb41..4813f921 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -70,6 +70,11 @@ int TEH_exchange_connection_close;  char *TEH_exchange_directory;  /** + * Directory where revocations are stored (global) + */ +char *TEH_revocation_directory; + +/**   * The exchange's configuration (global)   */  struct GNUNET_CONFIGURATION_Handle *cfg; @@ -524,6 +529,17 @@ exchange_serve_process_config ()      return GNUNET_SYSERR;    }    if (GNUNET_OK != +      GNUNET_CONFIGURATION_get_value_filename (cfg, +                                               "exchange", +                                               "REVOCATION_DIR", +                                               &TEH_revocation_directory)) +  { +    GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, +                               "exchange", +                               "REVOCATION_DIR"); +    return GNUNET_SYSERR; +  } +  if (GNUNET_OK !=        GNUNET_CONFIGURATION_get_value_string (cfg,                                               "taler",                                               "CURRENCY",  | 
