mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
ShellSession跟业务隔离
This commit is contained in:
@@ -94,6 +94,7 @@ int main(int argc,char *argv[]){
|
||||
#ifdef ENABLE_OPENSSL
|
||||
//请把证书"test_server.pem"放置在本程序可执行程序同目录下
|
||||
try{
|
||||
//加载证书,证书包含公钥和私钥
|
||||
SSL_Initor::Instance().loadServerPem((exePath() + ".pem").data());
|
||||
}catch(...){
|
||||
FatalL << "请把证书:" << (exeName() + ".pem") << "放置在本程序可执行程序同目录下:" << exeDir() << endl;
|
||||
|
||||
Reference in New Issue
Block a user