From a5bd2f2aded44a88edea4001bddba8865a516503 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 23 Feb 2016 19:22:45 -0500 Subject: features/crypt: Whitespace Cleanup Change-Id: Ib7f2ceb3851a3c333e3d58e3e2713fe4d59616b1 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/13502 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Raghavendra Bhat --- xlators/encryption/crypt/src/keys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/encryption/crypt/src/keys.c') diff --git a/xlators/encryption/crypt/src/keys.c b/xlators/encryption/crypt/src/keys.c index 05f9e75362a..0b243d3e827 100644 --- a/xlators/encryption/crypt/src/keys.c +++ b/xlators/encryption/crypt/src/keys.c @@ -13,7 +13,7 @@ #include "crypt.h" /* Key hierarchy - + +----------------+ | MASTER_VOL_KEY | +-------+--------+ @@ -63,7 +63,7 @@ static int32_t kderive_init(struct kderive_context *ctx, crypt_key_type type /* type of child key */) { unsigned char *pos; - uint32_t llen = strlen(crypt_keys[type].label); + uint32_t llen = strlen(crypt_keys[type].label); /* * Compoud the fixed input data for KDF: * [i]_2 || Label || 0x00 || Id-Context || [L]_2), @@ -111,7 +111,7 @@ static int32_t kderive_init(struct kderive_context *ctx, } static void kderive_update(struct kderive_context *ctx) -{ +{ uint32_t i; HMAC_CTX hctx; unsigned char *pos = ctx->out; -- cgit