浏览代码

protect from compiling without OpenSSL

David Rose 21 年之前
父节点
当前提交
f590f5090f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      panda/src/express/encryptStream.cxx

+ 3 - 0
panda/src/express/encryptStream.cxx

@@ -18,6 +18,7 @@
 
 
 #include "encryptStream.h"
 #include "encryptStream.h"
 
 
+#ifdef HAVE_SSL
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: encrypt_string
 //     Function: encrypt_string
 //       Access: Published
 //       Access: Published
@@ -64,3 +65,5 @@ decrypt_string(const string &source, const string &password) {
 
 
   return output.str();
   return output.str();
 }
 }
+
+#endif // HAVE_SSL