[epiphany] sync-crypto: Fix type cast code style



commit 3d34cbcf4c420e97f91830668eb6c980bc394806
Author: Gabriel Ivascu <gabrielivascu gnome org>
Date:   Mon Dec 4 22:16:57 2017 +0200

    sync-crypto: Fix type cast code style

 lib/sync/ephy-sync-crypto.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/sync/ephy-sync-crypto.c b/lib/sync/ephy-sync-crypto.c
index 629c2ee..f010aab 100644
--- a/lib/sync/ephy-sync-crypto.c
+++ b/lib/sync/ephy-sync-crypto.c
@@ -545,14 +545,14 @@ ephy_sync_crypto_hkdf (const guint8 *in,
 
   hmac_sha256_set_key(&ctx, SHA256_DIGEST_SIZE, salt);
   hkdf_extract(&ctx,
-               (nettle_hash_update_func*) hmac_sha256_update,
-               (nettle_hash_digest_func*) hmac_sha256_digest,
+               (nettle_hash_update_func *)hmac_sha256_update,
+               (nettle_hash_digest_func *)hmac_sha256_digest,
                SHA256_DIGEST_SIZE,
                in_len, in, prk);
   hmac_sha256_set_key(&ctx, SHA256_DIGEST_SIZE, prk);
   hkdf_expand(&ctx,
-              (nettle_hash_update_func*) hmac_sha256_update,
-              (nettle_hash_digest_func*) hmac_sha256_digest,
+              (nettle_hash_update_func *)hmac_sha256_update,
+              (nettle_hash_digest_func *)hmac_sha256_digest,
               SHA256_DIGEST_SIZE,
               info_len, info, out_len, out);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]