Kaynağa Gözat

protect from compiling without OpenSSL

David Rose 21 yıl önce
ebeveyn
işleme
f590f5090f
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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