Commit 06220f7f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

shrpx: Make is_secure() static

parent cbf8ccf7
......@@ -129,6 +129,7 @@ int split_host_port(char *host, size_t hostlen, uint16_t *port_ptr,
}
} // namespace
namespace {
bool is_secure(const char *filename)
{
struct stat buf;
......@@ -143,6 +144,7 @@ bool is_secure(const char *filename)
return false;
}
} // namespace
std::string read_passwd_from_file(const char *filename)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment