summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-06 13:43:04 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-06 13:43:04 +0100
commitcdf3cc4eda174e2e66ec836b0a621ba4f8096c74 (patch)
tree0da18e7f1a91026dae809c1527a791245d11b551
parentad350dbd623bf31f34f9c18e04ca04aae8e456cd (diff)
downloadgnutls-cdf3cc4eda174e2e66ec836b0a621ba4f8096c74.tar.gz
Deprecated gnutls_transport_set_lowat().
-rw-r--r--NEWS4
-rw-r--r--lib/includes/gnutls/compat.h2
-rw-r--r--lib/includes/gnutls/gnutls.h.in1
3 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d6a198184e..752e9d68c1 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,9 @@ use the hash algorithm required by it.
** libgnutls: gnutls_x509_privkey_sign_hash() is deprecated.
Use gnutls_privkey_sign_hash() instead.
+** libgnutls: gnutls_transport_set_lowat() is deprecated. Support
+for this functionality will be dropped in later versions.
+
** libgnutls: gnutls_pubkey_verify_data, gnutls_pubkey_verify_hash,
gnutls_x509_privkey_verify_data, gnutls_x509_crt_verify_data,
gnutls_x509_crt_verify_hash return the negative error code
@@ -75,6 +78,7 @@ gnutls_certificate_get_openpgp_keyring: DEPRECATED
gnutls_session_get_server_random: DEPRECATED
gnutls_session_get_client_random: DEPRECATED
gnutls_session_get_master_secret: DEPRECATED
+gnutls_transport_set_lowat: DEPRECATED
gnutls_x509_crt_verify_hash: DEPRECATED (use: gnutls_pubkey_verify_hash)
gnutls_x509_crt_verify_data: DEPRECATED (use: gnutls_pubkey_verify_data)
gnutls_x509_crt_get_verify_algorithm: DEPRECATED (use: gnutls_pubkey_get_verify_algorithm)
diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h
index 47ee345496..af02d92462 100644
--- a/lib/includes/gnutls/compat.h
+++ b/lib/includes/gnutls/compat.h
@@ -343,4 +343,6 @@ gnutls_sign_callback_get (gnutls_session_t session, void **userdata)
const int *list)
_GNUTLS_GCC_ATTR_DEPRECATED;
+ void gnutls_transport_set_lowat (gnutls_session_t session, int num) _GNUTLS_GCC_ATTR_DEPRECATED;
+
#endif /* _GNUTLS_COMPAT_H */
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index cb108be762..9f694b61bc 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -1216,7 +1216,6 @@ extern "C"
gnutls_transport_ptr_t * recv_ptr,
gnutls_transport_ptr_t * send_ptr);
- void gnutls_transport_set_lowat (gnutls_session_t session, int num);
void gnutls_transport_set_vec_push_function (gnutls_session_t session,