From 0feef76fe07e75b70155468f0a5956242d27b316 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 9 Jan 2020 10:48:01 +1000 Subject: [PATCH] mdc2: fix preprocessor indentation Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10790) --- include/openssl/mdc2.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/openssl/mdc2.h b/include/openssl/mdc2.h index a74e529bc7..b524f66a47 100644 --- a/include/openssl/mdc2.h +++ b/include/openssl/mdc2.h @@ -18,15 +18,15 @@ # include -#ifndef OPENSSL_NO_MDC2 -# include -# include -# ifdef __cplusplus +# ifndef OPENSSL_NO_MDC2 +# include +# include +# ifdef __cplusplus extern "C" { -# endif +# endif -# define MDC2_BLOCK 8 -# define MDC2_DIGEST_LENGTH 16 +# define MDC2_BLOCK 8 +# define MDC2_DIGEST_LENGTH 16 typedef struct mdc2_ctx_st { unsigned int num; @@ -40,9 +40,9 @@ int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); int MDC2_Final(unsigned char *md, MDC2_CTX *c); unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md); -# ifdef __cplusplus +# ifdef __cplusplus } -# endif +# endif # endif #endif -- 2.25.1