diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-26 16:44:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:34 +0100 |
commit | 7b9462d7b0b4bac2e1abf2716856cb4fdb1f688c (patch) | |
tree | 2631d8f0ab6b21a9ebaab3fcae63cf7c58b5dd41 /lib/str.c | |
parent | 3509d17b952898e39601e571809437ab73284f2e (diff) | |
download | gnutls-7b9462d7b0b4bac2e1abf2716856cb4fdb1f688c.tar.gz |
kx: moved to new buffer API
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/str.c')
-rw-r--r-- | lib/str.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -75,14 +75,6 @@ void _gnutls_buffer_init(gnutls_buffer_st * str) str->length = 0; } -void _gnutls_buffer_replace_data(gnutls_buffer_st * buf, - gnutls_datum_t * data) -{ - gnutls_free(buf->allocd); - buf->allocd = buf->data = data->data; - buf->max_length = buf->length = data->size; -} - void _gnutls_buffer_clear(gnutls_buffer_st * str) { if (str == NULL || str->allocd == NULL) |