From 0efcdd0e243992f5b2a06195c1653f1a09c96f1a Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Fri, 27 Aug 2010 12:56:26 +0000 Subject: [PATCH] 2010-08-27 14:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbssl/hbssl.h ! define OPENSSL_NO_SEED for OpenSSL 0.9.8e and earlier TODO: current HBSSL library cannot be compiled with some older versions of OpenSSL library (i.e. 0.9.6b). We should clearly define minimum OpenSSL version required by HBSSL. --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/hbssl/hbssl.h | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 74d5820061..d69798f37f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,14 @@ The license applies to all entries newer than 2009-04-28. */ +2010-08-27 14:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbssl/hbssl.h + ! define OPENSSL_NO_SEED for OpenSSL 0.9.8e and earlier + TODO: current HBSSL library cannot be compiled with some + older versions of OpenSSL library (i.e. 0.9.6b). + We should clearly define minimum OpenSSL version + required by HBSSL. + 2010-08-26 22:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idedocwriter.prg diff --git a/harbour/contrib/hbssl/hbssl.h b/harbour/contrib/hbssl/hbssl.h index a5bff6a25d..82c7fc8b9e 100644 --- a/harbour/contrib/hbssl/hbssl.h +++ b/harbour/contrib/hbssl/hbssl.h @@ -65,6 +65,12 @@ #include "hbssl.ch" +#if OPENSSL_VERSION_NUMBER < 0x0090806fL + #ifndef OPENSSL_NO_SEED + #define OPENSSL_NO_SEED + #endif +#endif + HB_EXTERN_BEGIN extern const SSL_METHOD * hb_ssl_method_id_to_ptr( int n );