diff -up bes-3.7.2/ppt/SSLClient.cc.openssl bes-3.7.2/ppt/SSLClient.cc
--- bes-3.7.2/ppt/SSLClient.cc.openssl 2009-03-12 22:30:41.000000000 +0100
+++ bes-3.7.2/ppt/SSLClient.cc 2009-08-22 11:56:21.000000000 +0200
@@ -79,7 +79,11 @@ SSLClient::initConnection()
SSL_library_init() ;
BESDEBUG( "ppt", "OK" << endl )
+#if OPENSSL_VERSION_NUMBER < 0x10000000L
SSL_METHOD *method = NULL ;
+#else
+ const SSL_METHOD *method = NULL ;
+#endif
SSL_CTX *context = NULL ;
BESDEBUG( "ppt", "Creating method and context ... " << endl )
diff -up bes-3.7.2/ppt/SSLServer.cc.openssl bes-3.7.2/ppt/SSLServer.cc
--- bes-3.7.2/ppt/SSLServer.cc.openssl 2009-03-10 03:46:41.000000000 +0100
+++ bes-3.7.2/ppt/SSLServer.cc 2009-08-22 11:54:08.000000000 +0200
@@ -83,7 +83,11 @@ SSLServer::initConnection()
SSL_library_init() ;
BESDEBUG( "ppt", "OK" << endl )
+#if OPENSSL_VERSION_NUMBER < 0x10000000L
SSL_METHOD *method = NULL ;
+#else
+ const SSL_METHOD *method = NULL ;
+#endif
SSL_CTX *context = NULL ;
BESDEBUG( "ppt", "Creating method and context ... " << endl )
method = SSLv3_server_method() ;