diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-09-07 15:45:23 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-09-07 15:45:23 +0000 |
commit | 01c7f63468c68f813258b2df9bcb87998850ceb0 (patch) | |
tree | 42e80bfc53befd203e47dfd5185aef068e5ab24f /net-p2p/dclib/files | |
parent | - Update to 3.006 (diff) |
- Fix build on CURRENT (change in OpenSSL API)
- While at it, trim Makefile headers and use new LIB_DEPENDS format
Reported by: pkg-fallout
Diffstat (limited to 'net-p2p/dclib/files')
-rw-r--r-- | net-p2p/dclib/files/extra-dclib-core_cssl.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-p2p/dclib/files/extra-dclib-core_cssl.cpp b/net-p2p/dclib/files/extra-dclib-core_cssl.cpp new file mode 100644 index 000000000000..af5ea03b98a1 --- /dev/null +++ b/net-p2p/dclib/files/extra-dclib-core_cssl.cpp @@ -0,0 +1,38 @@ +--- dclib/core/cssl.cpp.orig 2013-09-07 16:26:31.000000000 +0200 ++++ dclib/core/cssl.cpp 2013-09-07 16:28:11.000000000 +0200 +@@ -86,7 +86,7 @@ + /** */ + SSL_CTX * CSSL::InitClientCTX() + { +- SSL_METHOD *method; ++ const SSL_METHOD *method; + SSL_CTX *ctx = NULL; + + method = SSLv23_client_method(); /* Create new client-method instance */ +@@ -109,7 +109,7 @@ + /** */ + SSL_CTX * CSSL::InitServerCTX() + { +- SSL_METHOD *method; ++ const SSL_METHOD *method; + SSL_CTX *ctx = NULL; + + method = SSLv23_server_method(); /* Create new client-method instance */ +@@ -130,7 +130,7 @@ + /** */ + SSL_CTX * CSSL::NewTLSv1ClientCTX() + { +- SSL_METHOD * method = TLSv1_client_method(); ++ const SSL_METHOD * method = TLSv1_client_method(); + SSL_CTX * ctx = NULL; + + if ( method != NULL ) +@@ -149,7 +149,7 @@ + /** */ + SSL_CTX * CSSL::NewTLSv1ServerCTX() + { +- SSL_METHOD * method = TLSv1_server_method(); ++ const SSL_METHOD * method = TLSv1_server_method(); + SSL_CTX * ctx = NULL; + + if ( method != NULL ) |