diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-03 16:49:14 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-03 16:49:14 +0100 |
commit | 34405ec9569d8b397169b31f7ca2ec2bbc1d2708 (patch) | |
tree | 778c91ec412021623d1aa72a7d98e4969e748709 /src | |
parent | c2a40aa83924fd88b9c1ec0084f87109b01a8324 (diff) |
minor change to comments
Diffstat (limited to 'src')
-rw-r--r-- | src/include/taler_mint_service.h | 3 | ||||
-rw-r--r-- | src/mint-lib/mint_api_handle.c | 3 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_keystate.c | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h index 0222437ba..78650edfe 100644 --- a/src/include/taler_mint_service.h +++ b/src/include/taler_mint_service.h @@ -362,7 +362,8 @@ TALER_MINT_test_signing_key (const struct TALER_MINT_Keys *keys, * * @param keys the mint's key set * @param pk public key of the denomination to lookup - * @return details about the given denomination key + * @return details about the given denomination key, NULL if the key is not + * found */ const struct TALER_MINT_DenomPublicKey * TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys, diff --git a/src/mint-lib/mint_api_handle.c b/src/mint-lib/mint_api_handle.c index 61291389d..ef3da60ec 100644 --- a/src/mint-lib/mint_api_handle.c +++ b/src/mint-lib/mint_api_handle.c @@ -827,7 +827,8 @@ TALER_MINT_test_signing_key (const struct TALER_MINT_Keys *keys, * * @param keys the mint's key set * @param pk public key of the denomination to lookup - * @return details about the given denomination key + * @return details about the given denomination key, NULL if the key is + * not found */ const struct TALER_MINT_DenomPublicKey * TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys, diff --git a/src/mint/taler-mint-httpd_keystate.c b/src/mint/taler-mint-httpd_keystate.c index 8b2e8a37f..f1856e673 100644 --- a/src/mint/taler-mint-httpd_keystate.c +++ b/src/mint/taler-mint-httpd_keystate.c @@ -619,12 +619,17 @@ TMH_KS_acquire_ (const char *location) { key_state = GNUNET_new (struct TMH_KS_StateHandle); key_state->hash_context = GNUNET_CRYPTO_hash_context_start (); + + key_state->denom_keys_array = json_array (); GNUNET_assert (NULL != key_state->denom_keys_array); + key_state->sign_keys_array = json_array (); GNUNET_assert (NULL != key_state->sign_keys_array); + key_state->auditors_array = json_array (); GNUNET_assert (NULL != key_state->auditors_array); + key_state->denomkey_map = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_NO); key_state->reload_time = GNUNET_TIME_absolute_get (); |