summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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