mdc2: fix preprocessor indentation
authorPauli <paul.dale@oracle.com>
Thu, 9 Jan 2020 00:48:01 +0000 (10:48 +1000)
committerPauli <paul.dale@oracle.com>
Sun, 12 Jan 2020 02:02:17 +0000 (12:02 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10790)

include/openssl/mdc2.h

index a74e529bc728f8d5bb31c117770b7b47253723da..b524f66a47deb4330c1629ca8e2ff6db56c3967e 100644 (file)
 
 # 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