aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto_hash.c')
-rw-r--r--src/util/crypto_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_hash.c b/src/util/crypto_hash.c
index 2bf03db58..c41c419ff 100644
--- a/src/util/crypto_hash.c
+++ b/src/util/crypto_hash.c
@@ -105,7 +105,7 @@ GNUNET_CRYPTO_hash_from_string2 (const char *enc,
105 GNUNET_STRINGS_utf8_toupper (enc, up_ptr); 105 GNUNET_STRINGS_utf8_toupper (enc, up_ptr);
106 106
107 return GNUNET_STRINGS_string_to_data (upper_enc, enclen, 107 return GNUNET_STRINGS_string_to_data (upper_enc, enclen,
108 (unsigned char*) result, 108 (unsigned char *) result,
109 sizeof(struct GNUNET_HashCode)); 109 sizeof(struct GNUNET_HashCode));
110} 110}
111 111
@@ -439,7 +439,7 @@ GNUNET_CRYPTO_hmac (const struct GNUNET_CRYPTO_AuthKey *key,
439 const void *plaintext, size_t plaintext_len, 439 const void *plaintext, size_t plaintext_len,
440 struct GNUNET_HashCode *hmac) 440 struct GNUNET_HashCode *hmac)
441{ 441{
442 GNUNET_CRYPTO_hmac_raw ((void*) key->key, sizeof(key->key), 442 GNUNET_CRYPTO_hmac_raw ((void *) key->key, sizeof(key->key),
443 plaintext, plaintext_len, 443 plaintext, plaintext_len,
444 hmac); 444 hmac);
445} 445}