mirror of
https://github.com/panda3d/panda3d.git
synced 2026-04-24 07:29:13 -05:00
ifdef openssl
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user