fix bug
This commit is contained in:
@@ -731,7 +731,7 @@ lws_vhost* WebSocket::createVhost(struct lws_protocols* protocols, int& sslConne
|
||||
{
|
||||
if (isCAFileExist)
|
||||
{
|
||||
#ifdef defined(ANDROID) || defined(OHOS)
|
||||
#if defined(ANDROID) || defined(OHOS)
|
||||
// if ca file is in the apk, try to extract it to writable path
|
||||
std::string writablePath = gRedistPath;
|
||||
static std::string newCaFilePath = writablePath + caFileName;
|
||||
|
||||
Reference in New Issue
Block a user