From 6a0be374c84277c2348e1a5ffa69e43135dd08f2 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 8 Jun 2019 09:50:25 +0200 Subject: [PATCH] prc: fix for compiling without OpenSSL support [skip ci] --- dtool/src/prc/encryptStream.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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