move certs into secret file
This commit is contained in:
parent
80e1d1599d
commit
1b338ce065
10 changed files with 78 additions and 134 deletions
|
@ -9,12 +9,13 @@ namespace fw
|
|||
{
|
||||
private:
|
||||
public:
|
||||
Firewall(const char *, const char *, const uint16_t = 8080);
|
||||
Firewall(const char *, const char *, const char *, const char *, const uint16_t = 8080);
|
||||
~Firewall();
|
||||
void handle_api_client();
|
||||
};
|
||||
|
||||
Firewall::Firewall(const char *api_username, const char *api_password, const uint16_t port) : API(api_username, api_password, port) {}
|
||||
Firewall::Firewall(const char *cert, const char *key, const char *username, const char *password, const uint16_t port)
|
||||
: API(cert, key, username, password, port) {}
|
||||
Firewall::~Firewall() {}
|
||||
void Firewall::handle_api_client()
|
||||
{
|
||||
|
|
Reference in a new issue