- format source code (indentation 4 space
This commit is contained in:
@@ -486,6 +486,8 @@ void UserAgent::process()
|
|||||||
void UserAgent::addRootCert(const ByteBuffer& data)
|
void UserAgent::addRootCert(const ByteBuffer& data)
|
||||||
{
|
{
|
||||||
LOCK;
|
LOCK;
|
||||||
|
if (!mStack)
|
||||||
|
return;
|
||||||
resip::Data b(data.data(), data.size());
|
resip::Data b(data.data(), data.size());
|
||||||
try {
|
try {
|
||||||
mStack->getSecurity()->addRootCertPEM(b);
|
mStack->getSecurity()->addRootCertPEM(b);
|
||||||
|
|||||||
Reference in New Issue
Block a user