#15244: Add helper functin that validates a .onion address
-------------------------+------------------------------------
Reporter: dgoulet | Owner: dgoulet
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version:
Keywords: tor-hs | Actual Points:
Parent ID: | Points:
-------------------------+------------------------------------
Make a function that validates an HS address and can return either a
reason as a string or an error code indicating the error type (maybe use
errno values for that?).
{{{
int is_valid_rendservice_addr(const char *addr, char **reason);
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15244>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs