projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove #error from include files.
[openssl.git]
/
include
/
openssl
/
mdc2.h
diff --git
a/include/openssl/mdc2.h
b/include/openssl/mdc2.h
index c2438c885deaa69aeb20b603897195d3af44d24a..229b1227192dec3e0e9a50ef5f7c53d9d762e74b 100644
(file)
--- a/
include/openssl/mdc2.h
+++ b/
include/openssl/mdc2.h
@@
-1,4
+1,3
@@
-/* crypto/mdc2/mdc2.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-59,14
+58,12
@@
#ifndef HEADER_MDC2_H
# define HEADER_MDC2_H
#ifndef HEADER_MDC2_H
# define HEADER_MDC2_H
-# include <openssl/
des
.h>
+# include <openssl/
opensslconf
.h>
-#ifdef __cplusplus
+#ifndef OPENSSL_NO_MDC2
+# include <openssl/des.h>
+# ifdef __cplusplus
extern "C" {
extern "C" {
-#endif
-
-# ifdef OPENSSL_NO_MDC2
-# error MDC2 is disabled.
# endif
# define MDC2_BLOCK 8
# endif
# define MDC2_BLOCK 8
@@
-84,8
+81,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);
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
#endif