From 014e1f01afb19c67ac1ea0737b3f8e6e527cb32f Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 15 Sep 2017 14:46:13 +0200 Subject: str: rename _gnutls_buffer_pop_prefix to _gnutls_buffer_pop_prefix32 Signed-off-by: Nikos Mavrogiannopoulos --- lib/str.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/str.h') diff --git a/lib/str.h b/lib/str.h index c7ba54af47..f33dfb9b66 100644 --- a/lib/str.h +++ b/lib/str.h @@ -120,8 +120,8 @@ void _gnutls_buffer_pop_datum(gnutls_buffer_st *, gnutls_datum_t *, size_t max_size); /* 32-bit prefix */ -int _gnutls_buffer_pop_prefix(gnutls_buffer_st * buf, size_t * data_size, - int check); +int _gnutls_buffer_pop_prefix32(gnutls_buffer_st * buf, size_t * data_size, + int check); /* 32-bit prefix */ int _gnutls_buffer_pop_datum_prefix32(gnutls_buffer_st * buf, @@ -245,7 +245,7 @@ int _gnutls_hostname_compare(const char *certname, size_t certnamesize, #define BUFFER_POP_NUM(b, o) { \ size_t s; \ - ret = _gnutls_buffer_pop_prefix(b, &s, 0); \ + ret = _gnutls_buffer_pop_prefix32(b, &s, 0); \ if (ret < 0) { \ gnutls_assert(); \ goto error; \ @@ -255,7 +255,7 @@ int _gnutls_hostname_compare(const char *certname, size_t certnamesize, #define BUFFER_POP_CAST_NUM(b, o) { \ size_t s; \ - ret = _gnutls_buffer_pop_prefix(b, &s, 0); \ + ret = _gnutls_buffer_pop_prefix32(b, &s, 0); \ if (ret < 0) { \ gnutls_assert(); \ goto error; \ -- cgit v1.2.1