mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 03:28:07 +00:00
* switch to kernel.org upstream (most recent versions seem to be available only there) * package request-key, key.dns_resolver and their config file into new package 'keyutils' * refresh patches Signed-off-by: Daniel Golle <daniel@makrotopia.org>
18 lines
457 B
Diff
18 lines
457 B
Diff
--- a/key.dns_resolver.c
|
|
+++ b/key.dns_resolver.c
|
|
@@ -717,12 +717,12 @@ int main(int argc, char *argv[])
|
|
keyend = buf + ktlen + 1;
|
|
|
|
/* the actual key description follows the last semicolon */
|
|
- keyend = rindex(keyend, ';');
|
|
+ keyend = strrchr(keyend, ';');
|
|
if (!keyend)
|
|
error("Invalid key description: %s", buf);
|
|
keyend++;
|
|
|
|
- name = index(keyend, ':');
|
|
+ name = strchr(keyend, ':');
|
|
if (!name)
|
|
dns_query_a_or_aaaa(keyend, callout_info);
|
|
|