From da5878bcec50549fa58ae071a690e71fc535088c Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 7 Aug 2009 11:28:33 +0000 Subject: [PATCH] Fix build errors when building without OpenSSL --- panda/src/express/multifile.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/express/multifile.cxx b/panda/src/express/multifile.cxx index 4f601608c3..21d054b2aa 100644 --- a/panda/src/express/multifile.cxx +++ b/panda/src/express/multifile.cxx @@ -119,10 +119,12 @@ Multifile() : _file_major_ver = 0; _file_minor_ver = 0; +#ifdef HAVE_OPENSSL // Get these values from the config file via an EncryptStreamBuf. EncryptStreamBuf tbuf; _encryption_algorithm = tbuf.get_algorithm(); _encryption_key_length = tbuf.get_key_length(); +#endif } ////////////////////////////////////////////////////////////////////