From 2b38bb28b470dbca322ae64b7c5eaef9cd7206fa Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Fri, 7 Apr 2017 17:54:50 -0400 Subject: Remove base64_decode_nopad() Remove base64_decode_nopad() because it is redundant now that base64_decode() correctly handles both padded and unpadded base64 encodings with "right-sized" output buffers. --- src/common/util_format.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/common/util_format.h') diff --git a/src/common/util_format.h b/src/common/util_format.h index c92805246f..adf48c0077 100644 --- a/src/common/util_format.h +++ b/src/common/util_format.h @@ -37,8 +37,6 @@ int base64_encode(char *dest, size_t destlen, const char *src, size_t srclen, int base64_decode(char *dest, size_t destlen, const char *src, size_t srclen); int base64_encode_nopad(char *dest, size_t destlen, const uint8_t *src, size_t srclen); -int base64_decode_nopad(uint8_t *dest, size_t destlen, - const char *src, size_t srclen); /** Characters that can appear (case-insensitively) in a base32 encoding. */ #define BASE32_CHARS "abcdefghijklmnopqrstuvwxyz234567" -- cgit v1.2.3-54-g00ecf