minor change to comments

This commit is contained in:
Marcello Stanisci 2015-11-03 16:49:14 +01:00
parent c2a40aa839
commit 34405ec956
3 changed files with 9 additions and 2 deletions

View File

@ -362,7 +362,8 @@ TALER_MINT_test_signing_key (const struct TALER_MINT_Keys *keys,
* *
* @param keys the mint's key set * @param keys the mint's key set
* @param pk public key of the denomination to lookup * @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 * const struct TALER_MINT_DenomPublicKey *
TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys, TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys,

View File

@ -827,7 +827,8 @@ TALER_MINT_test_signing_key (const struct TALER_MINT_Keys *keys,
* *
* @param keys the mint's key set * @param keys the mint's key set
* @param pk public key of the denomination to lookup * @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 * const struct TALER_MINT_DenomPublicKey *
TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys, TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys,

View File

@ -619,12 +619,17 @@ TMH_KS_acquire_ (const char *location)
{ {
key_state = GNUNET_new (struct TMH_KS_StateHandle); key_state = GNUNET_new (struct TMH_KS_StateHandle);
key_state->hash_context = GNUNET_CRYPTO_hash_context_start (); key_state->hash_context = GNUNET_CRYPTO_hash_context_start ();
key_state->denom_keys_array = json_array (); key_state->denom_keys_array = json_array ();
GNUNET_assert (NULL != key_state->denom_keys_array); GNUNET_assert (NULL != key_state->denom_keys_array);
key_state->sign_keys_array = json_array (); key_state->sign_keys_array = json_array ();
GNUNET_assert (NULL != key_state->sign_keys_array); GNUNET_assert (NULL != key_state->sign_keys_array);
key_state->auditors_array = json_array (); key_state->auditors_array = json_array ();
GNUNET_assert (NULL != key_state->auditors_array); GNUNET_assert (NULL != key_state->auditors_array);
key_state->denomkey_map = GNUNET_CONTAINER_multihashmap_create (32, key_state->denomkey_map = GNUNET_CONTAINER_multihashmap_create (32,
GNUNET_NO); GNUNET_NO);
key_state->reload_time = GNUNET_TIME_absolute_get (); key_state->reload_time = GNUNET_TIME_absolute_get ();