mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user