Fix build errors when building without OpenSSL

This commit is contained in:
rdb 2009-08-07 11:28:33 +00:00
parent edf382de12
commit da5878bcec

View File

@ -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
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////