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. --- rsaref/rsaref.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'rsaref') diff --git a/rsaref/rsaref.h b/rsaref/rsaref.h index 15f65dd94f..498449f40e 100644 --- a/rsaref/rsaref.h +++ b/rsaref/rsaref.h @@ -59,13 +59,13 @@ #ifndef HEADER_RSAREF_H #define HEADER_RSAREF_H +#ifndef NO_RSA +#include + #ifdef __cplusplus extern "C" { #endif -#ifndef NO_RSA -#include - /* RSAeuro */ /*#define RSAref_MAX_BITS 2048*/ @@ -133,6 +133,10 @@ int R_RandomFinal(RSARandomState *rnd); void ERR_load_RSAREF_strings(void ); RSA_METHOD *RSA_PKCS1_RSAref(void ); + +#ifdef __cplusplus +} +#endif #endif /* BEGIN ERROR CODES */ @@ -173,8 +177,4 @@ RSA_METHOD *RSA_PKCS1_RSAref(void ); #define RSAREF_R_SIGNATURE 0x040b #define RSAREF_R_SIGNATURE_ENCODING 0x040c -#ifdef __cplusplus -} -#endif #endif - -- cgit v1.2.3