Added ifdefs for HAVE_LIBSSL

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@536 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-26 06:28:57 +00:00
parent 5e4ba2e39f
commit a50644dd8a
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -84,11 +84,13 @@ public:
bool Base64Encode(unsigned int uWrap = 0);
CString Base64Encode_n(unsigned int uWrap = 0) const;
#ifdef HAVE_LIBSSL
CString Encrypt_n(const CString& sPass, const CString& sIvec = "");
CString Decrypt_n(const CString& sPass, const CString& sIvec = "");
void Encrypt(const CString& sPass, const CString& sIvec = "");
void Decrypt(const CString& sPass, const CString& sIvec = "");
void Crypt(const CString& sPass, bool bEncrypt, const CString& sIvec = "");
#endif
static CString ToString(char c);
static CString ToString(unsigned char c);