summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-05-22 16:19:37 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-08-27 02:16:52 -0400
commite110b062be077b9890ef847ccf4e8bd19d00f179 (patch)
tree249c0b1854297c71db8756b20ea47c6827b4c991 /src/buffer.h
parent08c03cd450a8084fd88f7624655dfecbe52d243d (diff)
downloadlighttpd-git-e110b062be077b9890ef847ccf4e8bd19d00f179.tar.gz
[multiple] http_auth_digest_hex2bin -> li_hex2bin
move http_auth.c:http_auth_digest_hex2bin() to buffer.c:li_hex2bin() for reuse, e.g. for use by mod_secdownload, which is not mod_auth*
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index abc631ce..a9a4c574 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -228,6 +228,8 @@ void buffer_to_upper(buffer *b);
__attribute_const__
char hex2int(unsigned char c);
+int li_hex2bin (unsigned char *bin, size_t binlen, const char *hexstr, size_t len);
+
__attribute_pure__
static inline int light_isdigit(int c);
static inline int light_isdigit(int c) {