From 75934f55bddf673cf093534256091914f0fb08e0 Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Tue, 3 Mar 2015 21:27:23 +0800 Subject: Fix indentation. --- src/cryptography/hazmat/primitives/src/padding.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cryptography/hazmat/primitives/src/padding.c b/src/cryptography/hazmat/primitives/src/padding.c index 2ac9fac9..570bad9f 100644 --- a/src/cryptography/hazmat/primitives/src/padding.c +++ b/src/cryptography/hazmat/primitives/src/padding.c @@ -5,14 +5,14 @@ /* Returns the value of the input with the most-significant-bit copied to all of the bits. */ static uint8_t Cryptography_DUPLICATE_MSB_TO_ALL(uint8_t a) { - return (1 - (a >> (sizeof(uint8_t) * 8 - 1))) - 1; + return (1 - (a >> (sizeof(uint8_t) * 8 - 1))) - 1; } /* This returns 0xFF if a < b else 0x00, but does so in a constant time fashion */ static uint8_t Cryptography_constant_time_lt(uint8_t a, uint8_t b) { - a -= b; - return Cryptography_DUPLICATE_MSB_TO_ALL(a); + a -= b; + return Cryptography_DUPLICATE_MSB_TO_ALL(a); } uint8_t Cryptography_check_pkcs7_padding(const uint8_t *data, -- cgit v1.2.3