adjust to coding style, wrap initssl with defs

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@89 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-04-03 20:59:25 +00:00
parent de1f9e1bcf
commit 788f1415e1
2 changed files with 12 additions and 19 deletions
+1 -2
View File
@@ -40,8 +40,7 @@ char *strcasestr(const char *big, const char *little)
#endif /* __sun */
#ifdef HAVE_LIBSSL
void CUtils::GenerateCert( FILE *pOut, bool bEncPrivKey )
{
void CUtils::GenerateCert( FILE *pOut, bool bEncPrivKey ) {
RSA *pRSA = RSA_generate_key( 1024, 17, NULL, NULL );
PEM_write_RSAPrivateKey( pOut, pRSA, ( bEncPrivKey ? EVP_des_ede3_cbc() : NULL ), NULL, 0, NULL, NULL );