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 /rsaref | |
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 'rsaref')
-rw-r--r-- | rsaref/rsaref.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <openssl/rsa.h> + #ifdef __cplusplus extern "C" { #endif -#ifndef NO_RSA -#include <openssl/rsa.h> - /* 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 - |