From 00ef82dc510d61b4fa9c4f883b2a331273b97b7c Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 8 Feb 2007 20:22:16 +0000 Subject: [PATCH] ifdef openssl --- dtool/src/prc/configPage.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dtool/src/prc/configPage.cxx b/dtool/src/prc/configPage.cxx index 4a0dc2e00b..ee71a43cc3 100644 --- a/dtool/src/prc/configPage.cxx +++ b/dtool/src/prc/configPage.cxx @@ -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 } ////////////////////////////////////////////////////////////////////