From 0824e6549a705d5dfc5c3044db49fff978332dbd Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 23 Apr 2014 16:22:22 -0400 Subject: [PATCH] base64: Make base64_encode declaration consistent with its definition Signed-off-by: Anders Kaseorg --- src/crypto/base64.cc | 1 + src/crypto/base64.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/crypto/base64.cc b/src/crypto/base64.cc index 4d42935..eacbadd 100644 --- a/src/crypto/base64.cc +++ b/src/crypto/base64.cc @@ -35,6 +35,7 @@ #include #include "fatal_assert.h" +#include "base64.h" bool base64_decode( const char *b64, const size_t b64_len, char *raw, size_t *raw_len ) diff --git a/src/crypto/base64.h b/src/crypto/base64.h index 9fd705e..598be22 100644 --- a/src/crypto/base64.h +++ b/src/crypto/base64.h @@ -33,5 +33,5 @@ bool base64_decode( const char *b64, const size_t b64_len, char *raw, size_t *raw_len ); -bool base64_encode( const char *raw, const size_t raw_len, - char *b64, size_t b64_len ); +void base64_encode( const char *raw, const size_t raw_len, + char *b64, const size_t b64_len );