summaryrefslogtreecommitdiff
path: root/src/http_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http_auth.h')
-rw-r--r--src/http_auth.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http_auth.h b/src/http_auth.h
index 5b9aacbd..64a32da7 100644
--- a/src/http_auth.h
+++ b/src/http_auth.h
@@ -69,7 +69,9 @@ const http_auth_scheme_t * http_auth_scheme_get (const buffer *name);
void http_auth_scheme_set (const http_auth_scheme_t *scheme);
const http_auth_backend_t * http_auth_backend_get (const buffer *name);
void http_auth_backend_set (const http_auth_backend_t *backend);
-int http_auth_const_time_memeq (const char *a, size_t alen, const char *b, size_t blen);
+
+__attribute_pure__
+int http_auth_const_time_memeq_pad (const void *a, size_t alen, const void *b, size_t blen);
void http_auth_setenv(connection *con, const char *username, size_t ulen, const char *auth_type, size_t alen);