From: Pauli Date: Wed, 8 Jan 2020 22:20:30 +0000 (+1000) Subject: ripemd: fix preprocessor indentation X-Git-Tag: openssl-3.0.0-alpha1~709 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=65167dba890b2e92821ee3b90e8f7f46fa30f9c1;p=oweals%2Fopenssl.git ripemd: fix preprocessor indentation Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10789) --- diff --git a/include/openssl/ripemd.h b/include/openssl/ripemd.h index 3db616d186..27e977997b 100644 --- a/include/openssl/ripemd.h +++ b/include/openssl/ripemd.h @@ -18,18 +18,18 @@ # include -#ifndef OPENSSL_NO_RMD160 -# include -# include -# ifdef __cplusplus +# ifndef OPENSSL_NO_RMD160 +# include +# include +# ifdef __cplusplus extern "C" { -# endif +# endif -# define RIPEMD160_LONG unsigned int +# define RIPEMD160_LONG unsigned int -# define RIPEMD160_CBLOCK 64 -# define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) -# define RIPEMD160_DIGEST_LENGTH 20 +# define RIPEMD160_CBLOCK 64 +# define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) +# define RIPEMD160_DIGEST_LENGTH 20 typedef struct RIPEMD160state_st { RIPEMD160_LONG A, B, C, D, E; @@ -44,10 +44,8 @@ int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md); void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); -# ifdef __cplusplus +# ifdef __cplusplus } +# endif # endif -# endif - - #endif