mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
protect from compiling without OpenSSL
This commit is contained in:
parent
52615b0da5
commit
f590f5090f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user