diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-24 19:13:00 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-24 19:13:00 +0100 |
commit | d17a17ea785f91c18b5694eab3372c4e4564d95e (patch) | |
tree | a7ee983fb1c0fa5a9210938024357cd9498ee344 /src/util/crypto_hash.c | |
parent | 5f38569fce2e77afeed58cbd3429c67bf8ab9109 (diff) | |
download | gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.tar.gz gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.zip |
fix pointer indentation
Diffstat (limited to 'src/util/crypto_hash.c')
-rw-r--r-- | src/util/crypto_hash.c | 4 |
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 | } |