summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-14 09:03:54 +1000
committerPauli <paul.dale@oracle.com>2020-01-16 07:07:27 +1000
commit49742fd412665d2211523ac2925640e3be9d9ab3 (patch)
tree29813af9571fee5a2ee9dc0a5b4a72dcc3058d48 /include
parent28c690cb7dd80c15c9fa45df518c555c66ad67f8 (diff)
rc2: fix preprocessor indentation
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10834)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/rc2.h16
1 files changed, 8 insertions, 8 deletions
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 <openssl/opensslconf.h>
# 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