diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-10-23 18:57:01 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-10-23 18:57:01 +0300 |
commit | 1388f3b4c03c0a5594e1cdda4ccb81a53628fa64 (patch) | |
tree | 3986f6e2a7ba7d5c33f07f5f80a29122f6054462 | |
parent | f264e501ff74a0f792ea5bfbc77849c3b185d4f4 (diff) | |
download | gnutls-1388f3b4c03c0a5594e1cdda4ccb81a53628fa64.tar.gz |
Updata gnutls.vers since we changed our interfaces and some other fixes.
-rw-r--r-- | lib/gnutls_algorithms.c | 4 | ||||
-rw-r--r-- | lib/libgnutls.vers | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c index 6bad46396b..28fffe21d4 100644 --- a/lib/gnutls_algorithms.c +++ b/lib/gnutls_algorithms.c @@ -700,7 +700,7 @@ gnutls_mac_get_id (const char* name) { gnutls_mac_algorithm_t ret = GNUTLS_MAC_UNKNOWN; - GNUTLS_HASH_LOOP( if (strcasecmp( p->name, name)==0) ret = p->algorithm); + GNUTLS_HASH_LOOP( if (strcasecmp( p->name, name)==0) ret = p->id); return ret; } @@ -830,7 +830,7 @@ gnutls_compression_get_id (const char* name) { gnutls_compression_method_t ret = GNUTLS_COMP_UNKNOWN; - GNUTLS_COMPRESSION_LOOP( if (strcasecmp( p->name+sizeof("GNUTLS_COMP_"), name)==0) ret = p->id); + GNUTLS_COMPRESSION_LOOP( if (strcasecmp( p->name+sizeof("GNUTLS_COMP_")-1, name)==0) ret = p->id); return ret; } diff --git a/lib/libgnutls.vers b/lib/libgnutls.vers index 05d789a029..f793617ba6 100644 --- a/lib/libgnutls.vers +++ b/lib/libgnutls.vers @@ -20,7 +20,7 @@ # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA -GNUTLS_1_3 +GNUTLS_1_4 { global: _gnutls*; gnutls*; local: *; |