mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix build errors when building without OpenSSL
This commit is contained in:
parent
edf382de12
commit
da5878bcec
@ -119,10 +119,12 @@ Multifile() :
|
|||||||
_file_major_ver = 0;
|
_file_major_ver = 0;
|
||||||
_file_minor_ver = 0;
|
_file_minor_ver = 0;
|
||||||
|
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
// Get these values from the config file via an EncryptStreamBuf.
|
// Get these values from the config file via an EncryptStreamBuf.
|
||||||
EncryptStreamBuf tbuf;
|
EncryptStreamBuf tbuf;
|
||||||
_encryption_algorithm = tbuf.get_algorithm();
|
_encryption_algorithm = tbuf.get_algorithm();
|
||||||
_encryption_key_length = tbuf.get_key_length();
|
_encryption_key_length = tbuf.get_key_length();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user