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 );