diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-09-03 10:11:11 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-09-03 10:11:11 +0200 |
commit | 2f7b2376439e2b04a61e48bc2efcaebe3b776323 (patch) | |
tree | 81b807f3d3b4908c29ef71ddba82e50a117f3f37 /lib/gnutlsxx.cpp | |
parent | f1a87198a30958da1a0f084da0862d1a1e516ee9 (diff) | |
download | gnutls-2f7b2376439e2b04a61e48bc2efcaebe3b776323.tar.gz |
updated for lowat
Diffstat (limited to 'lib/gnutlsxx.cpp')
-rw-r--r-- | lib/gnutlsxx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp index aa92bc636d..4a27226965 100644 --- a/lib/gnutlsxx.cpp +++ b/lib/gnutlsxx.cpp @@ -418,7 +418,7 @@ namespace gnutls void session::set_transport_lowat (size_t num) { - gnutls_transport_set_lowat (s, num); + throw (exception (GNUTLS_E_UNIMPLEMENTED_FEATURE)); } void session::set_transport_push_function (gnutls_push_func push_func) @@ -892,7 +892,7 @@ psk_server_credentials::psk_server_credentials ():credentials if (ret < 0) { delete dst; - throw (ret); + throw (exception (ret)); } return *dst; @@ -944,7 +944,7 @@ psk_server_credentials::psk_server_credentials ():credentials if (ret < 0) { delete dst; - throw (ret); + throw (exception (ret)); } return *dst; |