Browse Source

Fix build errors when building without OpenSSL

rdb 16 years ago
parent
commit
da5878bcec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/express/multifile.cxx

+ 2 - 0
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
 }
 
 ////////////////////////////////////////////////////////////////////