Skip to content

Commit

Permalink
read the config about secure connect to mysql
Browse files Browse the repository at this point in the history
read the config about secure connect to mysql
  • Loading branch information
mem0rz authored and GreaterFire committed Mar 22, 2020
1 parent 718aeb8 commit 376a597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ void Config::populate(const ptree &tree) {
mysql.database = tree.get("mysql.database", string("trojan"));
mysql.username = tree.get("mysql.username", string("trojan"));
mysql.password = tree.get("mysql.password", string());
mysql.cafile = tree.get("mysql.cafile", string());
mysql.tls_version = tree.get("mysql.tls_version", string());
}

bool Config::sip003() {
Expand Down

0 comments on commit 376a597

Please sign in to comment.