aboutsummaryrefslogtreecommitdiff
path: root/lib/doh.h
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-04-27 12:07:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-28 07:56:34 +0200
commitfc0e29dd57bb0dc7bbf4d0e5c9638b01f7b6afc6 (patch)
tree8f24df11dadfaace6b9fbc3ad9868c8acdd155ca /lib/doh.h
parentcad15b9f92812ea4cdec6b65b7e2a83bdc007eb3 (diff)
doh: Constify some input pointers
Closes #5306
Diffstat (limited to 'lib/doh.h')
-rw-r--r--lib/doh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doh.h b/lib/doh.h
index fc053eddf..97d459f09 100644
--- a/lib/doh.h
+++ b/lib/doh.h
@@ -99,7 +99,7 @@ DOHcode doh_encode(const char *host,
unsigned char *dnsp, /* buffer */
size_t len, /* buffer size */
size_t *olen); /* output length */
-DOHcode doh_decode(unsigned char *doh,
+DOHcode doh_decode(const unsigned char *doh,
size_t dohlen,
DNStype dnstype,
struct dohentry *d);