From: Pauli Date: Thu, 9 Jan 2020 00:48:01 +0000 (+1000) Subject: mdc2: fix preprocessor indentation X-Git-Tag: openssl-3.0.0-alpha1~703 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0feef76fe07e75b70155468f0a5956242d27b316;p=oweals%2Fopenssl.git mdc2: fix preprocessor indentation Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10790) --- 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