From: Nikos Mavrogiannopoulos Date: Sat, 3 Sep 2011 08:11:11 +0000 (+0200) Subject: updated for lowat X-Git-Tag: gnutls_3_0_3~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f7b2376439e2b04a61e48bc2efcaebe3b776323;p=thirdparty%2Fgnutls.git updated for lowat --- 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;