Protect CertRecord stuff by an #ifdef HAVE_OPENSSL

This commit is contained in:
rdb 2009-10-01 16:25:29 +00:00
parent 2b5d5fb9e6
commit 6290e4c2b5

View File

@ -535,6 +535,7 @@ get_last_byte_pos() const {
_data_start + (streampos)_data_length) - (streampos)1;
}
#ifdef HAVE_OPENSSL
////////////////////////////////////////////////////////////////////
// Function: Multifile::CertRecord::Constructor
// Access: Public
@ -579,3 +580,5 @@ operator = (const Multifile::CertRecord &other) {
X509_free(_cert);
_cert = X509_dup(other._cert);
}
#endif