From 1c218b507acfc62d6af742bac192113fef119284 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 8 Jul 2012 13:13:40 +0200 Subject: simplified base64 encoding/decoding functions by using a datum. --- lib/x509_b64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/x509_b64.h') diff --git a/lib/x509_b64.h b/lib/x509_b64.h index a30f8f487a..d110c57026 100644 --- a/lib/x509_b64.h +++ b/lib/x509_b64.h @@ -21,9 +21,9 @@ */ int _gnutls_fbase64_encode (const char *msg, const uint8_t * data, - size_t data_size, uint8_t ** result); + size_t data_size, gnutls_datum_t* result); int _gnutls_fbase64_decode (const char *header, const uint8_t * data, - size_t data_size, uint8_t ** result); + size_t data_size, gnutls_datum_t* result); int _gnutls_base64_decode (const uint8_t * data, size_t data_size, -- cgit v1.2.1