1
0

Bulk clearing of whitespace

This commit is contained in:
LogicParrot
2016-02-05 23:45:45 +02:00
parent 87a31e3a2d
commit ca6ef58b1e
406 changed files with 4497 additions and 4497 deletions

View File

@@ -78,7 +78,7 @@ AString cRsaPrivateKey::GetPubKeyDER(void)
}
m_IsValid = true;
}
~cPubKey()
{
if (m_IsValid)
@@ -86,14 +86,14 @@ AString cRsaPrivateKey::GetPubKeyDER(void)
pk_free(&m_Key);
}
}
operator pk_context * (void) { return &m_Key; }
protected:
bool m_IsValid;
pk_context m_Key;
} PkCtx(&m_Rsa);
unsigned char buf[3000];
int res = pk_write_pubkey_der(PkCtx, buf, sizeof(buf));
if (res < 0)