diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-15 14:45:20 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:33 +0100 |
commit | cfeb22adbbbfb6dafcfcaf2185a7c44d38a97f7e (patch) | |
tree | 82f0eb283440be5e5740c57792d9893831a30788 | |
parent | 55c7818fba5d84780d18b3a3aa5a6a42cfde03a3 (diff) | |
download | gnutls-cfeb22adbbbfb6dafcfcaf2185a7c44d38a97f7e.tar.gz |
str: rename _gnutls_buffer_pop_datum_prefix to _gnutls_buffer_pop_datum_prefix32
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/str.c | 4 | ||||
-rw-r--r-- | lib/str.h | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -800,8 +800,8 @@ _gnutls_buffer_pop_prefix(gnutls_buffer_st * buf, size_t * data_size, } int -_gnutls_buffer_pop_datum_prefix(gnutls_buffer_st * buf, - gnutls_datum_t * data) +_gnutls_buffer_pop_datum_prefix32(gnutls_buffer_st * buf, + gnutls_datum_t * data) { size_t size; int ret; @@ -124,8 +124,8 @@ int _gnutls_buffer_pop_prefix(gnutls_buffer_st * buf, size_t * data_size, int check); /* 32-bit prefix */ -int _gnutls_buffer_pop_datum_prefix(gnutls_buffer_st * buf, - gnutls_datum_t * data); +int _gnutls_buffer_pop_datum_prefix32(gnutls_buffer_st * buf, + gnutls_datum_t * data); /* 16-bit prefix */ int _gnutls_buffer_pop_datum_prefix16(gnutls_buffer_st * buf, @@ -234,7 +234,7 @@ int _gnutls_hostname_compare(const char *certname, size_t certnamesize, #define BUFFER_POP_DATUM(b, o) { \ gnutls_datum_t d; \ - ret = _gnutls_buffer_pop_datum_prefix(b, &d); \ + ret = _gnutls_buffer_pop_datum_prefix32(b, &d); \ if (ret >= 0) \ ret = _gnutls_set_datum (o, d.data, d.size); \ if (ret < 0) { \ |