diff options
author | Kevin Paulus <goarilla@gmail.com> | 2014-12-02 17:38:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-02 17:38:53 +0700 |
commit | dc2fac30cf0b447c1e5d140e1f9cbf1ff48a6f6a (patch) | |
tree | f6664ca7b4bc29789f05719ec538f223ad43fff2 /network/dclib/dclib-0.3.23.patch | |
parent | 53846adc1f684401d953132a2a4c29f605446f2d (diff) |
network/dclib: Added (Neomodus DC library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dclib/dclib-0.3.23.patch')
-rw-r--r-- | network/dclib/dclib-0.3.23.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/network/dclib/dclib-0.3.23.patch b/network/dclib/dclib-0.3.23.patch new file mode 100644 index 000000000000..49ca6c8840c1 --- /dev/null +++ b/network/dclib/dclib-0.3.23.patch @@ -0,0 +1,42 @@ +--- dclib/core/cssl.cpp 2009-01-07 23:13:52.000000000 +0100 ++++ dclib/core/cssl.cpp.new 2013-09-29 13:19:29.489059230 +0200 +@@ -86,10 +86,10 @@ + /** */ + SSL_CTX * CSSL::InitClientCTX() + { +- SSL_METHOD *method; ++ const SSL_METHOD *method; + SSL_CTX *ctx = NULL; + +- method = SSLv23_client_method(); /* Create new client-method instance */ ++ method = SSLv23_client_method(); /* Create new client-method instance */ + + // sanity check + if ( method != NULL ) +@@ -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 ) |