From: Pauli Date: Mon, 13 Jan 2020 23:03:54 +0000 (+1000) Subject: rc2: fix preprocessor indentation X-Git-Tag: openssl-3.0.0-alpha1~677 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49742fd412665d2211523ac2925640e3be9d9ab3;p=oweals%2Fopenssl.git rc2: fix preprocessor indentation Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10834) --- diff --git a/include/openssl/rc2.h b/include/openssl/rc2.h index 250168abf9..0e92df3aa3 100644 --- a/include/openssl/rc2.h +++ b/include/openssl/rc2.h @@ -19,17 +19,17 @@ # include # ifndef OPENSSL_NO_RC2 -# ifdef __cplusplus +# ifdef __cplusplus extern "C" { -# endif +# endif typedef unsigned int RC2_INT; -# define RC2_ENCRYPT 1 -# define RC2_DECRYPT 0 +# define RC2_ENCRYPT 1 +# define RC2_DECRYPT 0 -# define RC2_BLOCK 8 -# define RC2_KEY_LENGTH 16 +# define RC2_BLOCK 8 +# define RC2_KEY_LENGTH 16 typedef struct rc2_key_st { RC2_INT data[64]; @@ -49,9 +49,9 @@ void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num); -# ifdef __cplusplus +# ifdef __cplusplus } -# endif +# endif # endif #endif