diff --git a/NEWS b/NEWS index 7070c9d..5bf6fba 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,14 @@ +Changes since 2.7.1 +------------------- + Enhancement/BugFix + * For RETS servers doing SSL, ezRETS will not attempt to verify the + SSL certificate from the server. This behaviour will chance in + the future with some configuration options. + + Developer Notes + * Small fix to building on OS X where a library was linked + dynamically instead of staticly + Changes since 2.7.0 ------------------- Bug fix diff --git a/configure.ac b/configure.ac index d51dd13..a048993 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,7 @@ if test -n "$GCC"; then fi dnl AC_PROG_LIBTOOL +AC_CHECK_SIZEOF(void*) AC_CHECK_SIZEOF(long) AC_CHECK_TYPES(long long) AC_CHECK_PROG(my_have_perl, perl, yes, no) diff --git a/project/common/src/DataSource.cpp b/project/common/src/DataSource.cpp index 2c01c1a..4b1aa93 100644 --- a/project/common/src/DataSource.cpp +++ b/project/common/src/DataSource.cpp @@ -1085,6 +1085,10 @@ lr::RetsSessionPtr CLASS::CreateRetsSession() const session->SetProxy(mProxyUrl, mProxyPassword); } + // Until I have time to ship an SSL CA bundle, or configure a + // pointer to it, we'll be naughty and just not verify shit. + session->SetModeFlags(lr::RetsSession::MODE_NO_SSL_VERIFY); + return session; } diff --git a/project/driver/src/RetsDBC.cpp b/project/driver/src/RetsDBC.cpp index 2477a9d..3c91d8c 100644 --- a/project/driver/src/RetsDBC.cpp +++ b/project/driver/src/RetsDBC.cpp @@ -669,10 +669,6 @@ bool RetsDBC::login() session->SetHttpLogger(mRetsHttpLogger.get()); } - // Until I have time to ship an SSL CA bundle, or configure a - // pointer to it, we'll be naughty and just not verify shit. - session->SetModeFlags(lr::RetsSession::MODE_NO_SSL_VERIFY); - success = mDataSource.RetsLogin(session); if (success) {