From: Nikos Mavrogiannopoulos Date: Thu, 10 Feb 2011 09:21:23 +0000 (+0100) Subject: removed the old set_priority functions. X-Git-Tag: gnutls_2_99_0~275 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b73ad7815fe23732e35542dc0416cb10133fd72;p=thirdparty%2Fgnutls.git removed the old set_priority functions. --- diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp index 400d87bed8..b10dd343b1 100644 --- a/lib/gnutlsxx.cpp +++ b/lib/gnutlsxx.cpp @@ -161,37 +161,6 @@ namespace gnutls } - void session::set_cipher_priority (const int *list) - { - RETWRAP (gnutls_cipher_set_priority (s, list)); - } - - void session::set_mac_priority (const int *list) - { - RETWRAP (gnutls_mac_set_priority (s, list)); - } - - void session::set_compression_priority (const int *list) - { - RETWRAP (gnutls_compression_set_priority (s, list)); - } - - void session::set_kx_priority (const int *list) - { - RETWRAP (gnutls_kx_set_priority (s, list)); - } - - void session::set_protocol_priority (const int *list) - { - RETWRAP (gnutls_protocol_set_priority (s, list)); - } - - void session::set_certificate_type_priority (const int *list) - { - RETWRAP (gnutls_certificate_type_set_priority (s, list)); - } - - /* if you just want some defaults, use the following. */ void session::set_priority (const char *prio, const char **err_pos) diff --git a/lib/includes/gnutls/gnutlsxx.h b/lib/includes/gnutls/gnutlsxx.h index 70f326419c..db51a6bbcc 100644 --- a/lib/includes/gnutls/gnutlsxx.h +++ b/lib/includes/gnutls/gnutlsxx.h @@ -133,13 +133,6 @@ namespace gnutls size_t seed_size, const char *seed, size_t outsize, char *out); - void set_cipher_priority (const int *list); - void set_mac_priority (const int *list); - void set_compression_priority (const int *list); - void set_kx_priority (const int *list); - void set_protocol_priority (const int *list); - void set_certificate_type_priority (const int *list); - /* if you just want some defaults, use the following. */ void set_priority (const char *prio, const char **err_pos);