mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +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: hex.c,v 1.7 2001/01/09 21:56:04 bwelling Exp $ */
|
||||
/* $Id: hex.c,v 1.8 2001/03/22 00:07:05 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -152,11 +152,9 @@ isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_hex_decodestring(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
|
||||
isc_hex_decodestring(char *cstr, isc_buffer_t *target) {
|
||||
hex_decode_ctx_t ctx;
|
||||
|
||||
UNUSED(mctx);
|
||||
|
||||
hex_decode_init(&ctx, -1, target);
|
||||
for (;;) {
|
||||
int c = *cstr++;
|
||||
|
Reference in New Issue
Block a user