aboutsummaryrefslogtreecommitdiff
path: root/crypto/sha
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-21 11:09:58 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:20:08 +0000
commitdbd87ffc210328eb8670c24a427318172c1e334d (patch)
tree6175be66604e4bc349d37a6832e4547b9079410c /crypto/sha
parent0107079e5f40bd53c7ab7c3eb66aedee075a88bf (diff)
downloadopenssl-dbd87ffc210328eb8670c24a427318172c1e334d.zip
openssl-dbd87ffc210328eb8670c24a427318172c1e334d.tar.gz
openssl-dbd87ffc210328eb8670c24a427318172c1e334d.tar.bz2
indent has problems with comments that are on the right hand side of a line.
Sometimes it fails to format them very well, and sometimes it corrupts them! This commit moves some particularly problematic ones. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h
index 95d9b60..1c27d50 100644
--- a/crypto/sha/sha.h
+++ b/crypto/sha/sha.h
@@ -151,9 +151,12 @@ void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
* being exactly 64-bit wide. See Implementation Notes in sha512.c
* for further details.
*/
-#define SHA512_CBLOCK (SHA_LBLOCK*8) /* SHA-512 treats input data as a
- * contiguous array of 64 bit
- * wide big-endian values. */
+/*
+ * SHA-512 treats input data as a
+ * contiguous array of 64 bit
+ * wide big-endian values.
+ */
+#define SHA512_CBLOCK (SHA_LBLOCK*8)
#if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
#define SHA_LONG64 unsigned __int64
#define U64(C) C##UI64