Fixed an extra space.
This commit is contained in:
parent
3942ebdcb6
commit
ac1c3ba5d9
@ -150,7 +150,7 @@ bool cHTTPServer::Initialize(const AString & a_PortsIPv4, const AString & a_Port
|
|||||||
{
|
{
|
||||||
m_Cert.reset(new cX509Cert);
|
m_Cert.reset(new cX509Cert);
|
||||||
int res = m_Cert->Parse(CertFile.data(), CertFile.size());
|
int res = m_Cert->Parse(CertFile.data(), CertFile.size());
|
||||||
if (res == 0)
|
if (res == 0)
|
||||||
{
|
{
|
||||||
m_CertPrivKey.reset(new cCryptoKey);
|
m_CertPrivKey.reset(new cCryptoKey);
|
||||||
int res2 = m_CertPrivKey->ParsePrivate(KeyFile.data(), KeyFile.size(), "");
|
int res2 = m_CertPrivKey->ParsePrivate(KeyFile.data(), KeyFile.size(), "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user