diff --git a/dtool/src/prc/encryptStream.cxx b/dtool/src/prc/encryptStream.cxx index 90e9e33858..4d807c49d1 100644 --- a/dtool/src/prc/encryptStream.cxx +++ b/dtool/src/prc/encryptStream.cxx @@ -13,6 +13,8 @@ #include "encryptStream.h" +#ifdef HAVE_OPENSSL + /** * Must be called immediately after open_read(). Decrypts the given number of * bytes and checks that they match. The amount of header bytes are added to @@ -32,3 +34,5 @@ read_magic(const char *magic, size_t size) { return false; } } + +#endif