mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Protect CertRecord stuff by an #ifdef HAVE_OPENSSL
This commit is contained in:
parent
2b5d5fb9e6
commit
6290e4c2b5
@ -535,6 +535,7 @@ get_last_byte_pos() const {
|
|||||||
_data_start + (streampos)_data_length) - (streampos)1;
|
_data_start + (streampos)_data_length) - (streampos)1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: Multifile::CertRecord::Constructor
|
// Function: Multifile::CertRecord::Constructor
|
||||||
// Access: Public
|
// Access: Public
|
||||||
@ -579,3 +580,5 @@ operator = (const Multifile::CertRecord &other) {
|
|||||||
X509_free(_cert);
|
X509_free(_cert);
|
||||||
_cert = X509_dup(other._cert);
|
_cert = X509_dup(other._cert);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user