From 8522e44467ebcac54201def2c6583639e74e9e24 Mon Sep 17 00:00:00 2001 From: yazoo Date: Tue, 29 Jan 2008 07:43:06 +0000 Subject: Portage win32 --- MPQCryptography.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MPQCryptography.h') diff --git a/MPQCryptography.h b/MPQCryptography.h index b1d621e..01aa418 100644 --- a/MPQCryptography.h +++ b/MPQCryptography.h @@ -7,9 +7,15 @@ * */ +#ifdef WIN32 +#include "stdint.h" +#include +#define bool char +#else #include #include #include +#endif #if defined(__cplusplus) extern "C" { @@ -40,8 +46,10 @@ extern "C" { #define __MPQLIB_CRC_FINALIZE 0x4 void __mpqlib_crc32(const unsigned char *buffer, uint32_t length, uint32_t * crc, uint32_t flags); +#ifdef USE_SSL int __mpqlib_verify_weak_signature(RSA * public_key, const unsigned char *signature, const unsigned char *digest); int __mpqlib_verify_strong_signature(RSA * public_key, const unsigned char *signature, const unsigned char *digest); +#endif #if defined(__cplusplus) } -- cgit v1.2.3