]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clean up and refactor dns_adb_getcookie()
authorAram Sargsyan <aram@isc.org>
Fri, 9 Dec 2022 15:09:12 +0000 (15:09 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 15 Dec 2022 12:34:26 +0000 (12:34 +0000)
commit03442d922b696b447f3cd9acfa2ce29adf799e6c
tree600647896ad3c1cf346e4729bb4695104c0ae3cd
parent5266444e351b28887b896670fb61a2d007be0fd7
Clean up and refactor dns_adb_getcookie()

The dns_adb_getcookie() doesn't use the 'adb' parameter, remove it.

Refactor the dns_adb_getcookie() function to just return the size of
the cookie when the caller passes 'NULL' as the 'cookie' argument.
lib/dns/adb.c
lib/dns/include/dns/adb.h
lib/dns/resolver.c