diff options
author | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
commit | 82271cee5b6369c263213845f8a81be40d5d5585 (patch) | |
tree | 43a5b74770b864de29034a7954b98703b103b920 /crypto/md2 | |
parent | 22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff) | |
download | openssl-82271cee5b6369c263213845f8a81be40d5d5585.tar.gz |
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Diffstat (limited to 'crypto/md2')
-rw-r--r-- | crypto/md2/md2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/md2/md2.h b/crypto/md2/md2.h index 582bffb859..a00bd162b3 100644 --- a/crypto/md2/md2.h +++ b/crypto/md2/md2.h @@ -59,10 +59,6 @@ #ifndef HEADER_MD2_H #define HEADER_MD2_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_MD2 #error MD2 is disabled. #endif @@ -71,6 +67,10 @@ extern "C" { #define MD2_BLOCK 16 #include <openssl/opensslconf.h> /* MD2_INT */ +#ifdef __cplusplus +extern "C" { +#endif + typedef struct MD2state_st { int num; |