Commit 94178e98 authored by Brian Wellington's avatar Brian Wellington

isc_base64_decodestring should take a const char *, not a char *

parent ee14337c
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: base64.c,v 1.21 2001/01/09 21:55:54 bwelling Exp $ */
/* $Id: base64.c,v 1.22 2001/02/15 23:21:46 bwelling Exp $ */
#include <config.h>
......@@ -190,7 +190,9 @@ isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
}
isc_result_t
isc_base64_decodestring(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
isc_base64_decodestring(isc_mem_t *mctx, const char *cstr,
isc_buffer_t *target)
{
base64_decode_ctx_t ctx;
UNUSED(mctx);
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: base64.h,v 1.13 2001/01/09 21:56:43 bwelling Exp $ */
/* $Id: base64.h,v 1.14 2001/02/15 23:21:47 bwelling Exp $ */
#ifndef ISC_BASE64_H
#define ISC_BASE64_H 1
......@@ -54,7 +54,8 @@ isc_base64_totext(isc_region_t *source, int wordlength,
*/
isc_result_t
isc_base64_decodestring(isc_mem_t *mctx, char *cstr, isc_buffer_t *target);
isc_base64_decodestring(isc_mem_t *mctx, const char *cstr,
isc_buffer_t *target);
/*
* Decode a null-terminated base64 string.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment