whirlpool: fix preprocessor indentation
authorPauli <paul.dale@oracle.com>
Wed, 8 Jan 2020 02:50:56 +0000 (12:50 +1000)
committerPauli <paul.dale@oracle.com>
Sun, 12 Jan 2020 02:05:03 +0000 (12:05 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10779)

include/openssl/whrlpool.h

index 83f34288e4eea3379d25fdc7978c7428abb4acfc..89adca6f73a015e2854aa16723cd7f0f9115899f 100644 (file)
 #  define HEADER_WHRLPOOL_H
 # endif
 
-#include <openssl/opensslconf.h>
+# include <openssl/opensslconf.h>
 
 # ifndef OPENSSL_NO_WHIRLPOOL
-# include <openssl/e_os2.h>
-# include <stddef.h>
-# ifdef __cplusplus
+#  include <openssl/e_os2.h>
+#  include <stddef.h>
+#  ifdef __cplusplus
 extern "C" {
-# endif
+#  endif
 
-# define WHIRLPOOL_DIGEST_LENGTH (512/8)
-# define WHIRLPOOL_BBLOCK        512
-# define WHIRLPOOL_COUNTER       (256/8)
+#  define WHIRLPOOL_DIGEST_LENGTH (512/8)
+#  define WHIRLPOOL_BBLOCK        512
+#  define WHIRLPOOL_COUNTER       (256/8)
 
 typedef struct {
     union {
@@ -46,9 +46,9 @@ void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);
 int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);
 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
 
-# ifdef __cplusplus
+#  ifdef __cplusplus
 }
-# endif
+#  endif
 # endif
 
 #endif