Jelajahi Sumber

protect from compiling without OpenSSL

David Rose 21 tahun lalu
induk
melakukan
f590f5090f
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      panda/src/express/encryptStream.cxx

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

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