From 82271cee5b6369c263213845f8a81be40d5d5585 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 2 May 2000 12:16:01 +0000 Subject: In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, "Jan Mikkelsen" correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed. --- crypto/dh/dh.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/dh') diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index c15b2ad483..19bd570309 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -59,10 +59,6 @@ #ifndef HEADER_DH_H #define HEADER_DH_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_DH #error DH is disabled. #endif @@ -72,6 +68,10 @@ extern "C" { #define DH_FLAG_CACHE_MONT_P 0x01 +#ifdef __cplusplus +extern "C" { +#endif + typedef struct dh_st DH; typedef struct dh_method { -- cgit v1.2.3