ifdef openssl

This commit is contained in:
David Rose 2007-02-08 20:22:16 +00:00
parent 0be53cccf6
commit 00ef82dc51

View File

@ -238,8 +238,12 @@ read_prc(istream &in) {
////////////////////////////////////////////////////////////////////
bool ConfigPage::
read_encrypted_prc(istream &in, const string &password) {
#ifdef HAVE_OPENSSL
IDecryptStream decrypt(&in, false, password);
return read_prc(decrypt);
#else
return false;
#endif // HAVE_OPENSSL
}
////////////////////////////////////////////////////////////////////