From 8e9666d57550398eabd619b34d90ec69d69eb218 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 22 Aug 2009 18:29:20 +0000 Subject: Added --remote-random-hostname option. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4843 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index 8bc1e8f..bf51e89 100644 --- a/misc.h +++ b/misc.h @@ -230,6 +230,9 @@ bool delete_file (const char *filename); /* return true if pathname is absolute */ bool absolute_pathname (const char *pathname); +/* prepend a random prefix to hostname (need USE_CRYPTO) */ +const char *hostname_randomize(const char *hostname, struct gc_arena *gc); + /* * Get and store a username/password */ -- cgit