summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-09 10:48:01 +1000
committerPauli <paul.dale@oracle.com>2020-01-12 12:02:17 +1000
commit0feef76fe07e75b70155468f0a5956242d27b316 (patch)
treebe77fa1611fa55794408ba40b91cbff9f4dc1a9a /include
parent8ffb20ce05c13f137c169ebdfd11f702da82e9eb (diff)
mdc2: fix preprocessor indentation
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10790)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/mdc2.h18
1 files 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 <openssl/opensslconf.h>
-#ifndef OPENSSL_NO_MDC2
-# include <stdlib.h>
-# include <openssl/des.h>
-# ifdef __cplusplus
+# ifndef OPENSSL_NO_MDC2
+# include <stdlib.h>
+# include <openssl/des.h>
+# 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