diff options
author | Vijay Bellur <vbellur@redhat.com> | 2016-02-23 19:22:45 -0500 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2016-04-21 15:39:25 -0700 |
commit | a5bd2f2aded44a88edea4001bddba8865a516503 (patch) | |
tree | f50059a07b930413959e072bde37173c0d910e30 /xlators/encryption/crypt/src/keys.c | |
parent | fb55cf6aea208b8f493adc011b3b0a0d734cc8a1 (diff) |
features/crypt: Whitespace Cleanup
Change-Id: Ib7f2ceb3851a3c333e3d58e3e2713fe4d59616b1
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/13502
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/encryption/crypt/src/keys.c')
-rw-r--r-- | xlators/encryption/crypt/src/keys.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |