mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Force a space between if, for, while and (
This was done via:
sed -ir 's/if(/if (/g; s/for(/for (/g; s/while(/while (/g' \
*.h *.cpp modules/*.cpp
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1030 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -66,7 +66,7 @@ void CUtils::GenerateCert(FILE *pOut, bool bEncPrivKey, const CString& sHost) {
|
||||
|
||||
PEM_write_RSAPrivateKey(pOut, pRSA, (bEncPrivKey ? EVP_des_ede3_cbc() : NULL), NULL, 0, NULL, NULL);
|
||||
|
||||
if(!(pCert = X509_new())) {
|
||||
if (!(pCert = X509_new())) {
|
||||
EVP_PKEY_free(pKey);
|
||||
return;
|
||||
}
|
||||
@@ -619,7 +619,7 @@ CString CBlowfish::MD5(const CString & sInput, bool bHexEncode) {
|
||||
if (!bHexEncode) {
|
||||
sRet.append((const char *)data, MD5_DIGEST_LENGTH);
|
||||
} else {
|
||||
for(int a = 0; a < MD5_DIGEST_LENGTH; a++) {
|
||||
for (int a = 0; a < MD5_DIGEST_LENGTH; a++) {
|
||||
sRet += g_HexDigits[data[a] >> 4];
|
||||
sRet += g_HexDigits[data[a] & 0xf];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user