blob: cfe79afeb8358b3c02d0651b437adb52a4881577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff -wbBur net6-1.3.12/inc/encrypt.hpp net6-1.3.12.my/inc/encrypt.hpp
--- net6-1.3.12/inc/encrypt.hpp 2009-11-15 16:02:46.000000000 +0300
+++ net6-1.3.12.my/inc/encrypt.hpp 2011-11-21 16:39:32.000000000 +0400
@@ -34,7 +34,7 @@
typedef gnutls_anon_server_credentials gnutls_anon_server_credentials_t;
typedef gnutls_transport_ptr gnutls_transport_ptr_t;
typedef gnutls_dh_params gnutls_dh_params_t;
-typedef gnutls_connection_end gnutls_connection_end_t;
+//typedef gnutls_connection_end gnutls_connection_end_t;
class dh_params: private net6::non_copyable
{
diff -wbBur net6-1.3.12/src/encrypt.cpp net6-1.3.12.my/src/encrypt.cpp
--- net6-1.3.12/src/encrypt.cpp 2009-11-15 16:02:46.000000000 +0300
+++ net6-1.3.12.my/src/encrypt.cpp 2011-11-21 16:39:49.000000000 +0400
@@ -25,7 +25,7 @@
{
const unsigned int DH_BITS = 1024;
- net6::gnutls_session_t create_session(net6::gnutls_connection_end_t end)
+ net6::gnutls_session_t create_session(gnutls_connection_end_t end)
{
net6::gnutls_session_t session;
gnutls_init(&session, end);
@@ -201,8 +201,6 @@
net6_unix_send_func
);
#endif
-
- gnutls_transport_set_lowat(session, 0);
}
net6::tcp_encrypted_socket_base::~tcp_encrypted_socket_base()
|