]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated for lowat
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 3 Sep 2011 08:11:11 +0000 (10:11 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 3 Sep 2011 08:11:11 +0000 (10:11 +0200)
lib/gnutlsxx.cpp

index aa92bc636dbd880d3486f2e70efdece0b848bb9d..4a272269653c9c7077c485151e628a20958c6e44 100644 (file)
@@ -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;