mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
prc: fix for compiling without OpenSSL support
[skip ci]
This commit is contained in:
parent
47f39809ee
commit
6a0be374c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user