- format source code (indentation 4 space
This commit is contained in:
parent
7c346fbe9b
commit
10ec751e43
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue