mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: base64.c,v 1.22 2001/02/15 23:21:46 bwelling Exp $ */
|
||||
/* $Id: base64.c,v 1.23 2001/03/22 00:07:04 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -190,13 +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, const char *cstr,
|
||||
isc_buffer_t *target)
|
||||
{
|
||||
isc_base64_decodestring(const char *cstr, isc_buffer_t *target) {
|
||||
base64_decode_ctx_t ctx;
|
||||
|
||||
UNUSED(mctx);
|
||||
|
||||
base64_decode_init(&ctx, -1, target);
|
||||
for (;;) {
|
||||
int c = *cstr++;
|
||||
|
Reference in New Issue
Block a user