diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-12-27 21:37:10 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-12-27 21:37:10 +0000 |
commit | 39c5865dbf3f5c4dc09edb3ba8c6d44b954d356c (patch) | |
tree | 8826bb9abe0a917386d649f90a6896628bcf318d /cpp/src | |
parent | Added new icepackadmin commands: signal, stdout, stderr (diff) | |
download | ice-39c5865dbf3f5c4dc09edb3ba8c6d44b954d356c.tar.bz2 ice-39c5865dbf3f5c4dc09edb3ba8c6d44b954d356c.tar.xz ice-39c5865dbf3f5c4dc09edb3ba8c6d44b954d356c.zip |
fix for older OpenSSL
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Glacier/StarterI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Glacier/StarterI.cpp b/cpp/src/Glacier/StarterI.cpp index a90332caa71..e70b8a2caec 100644 --- a/cpp/src/Glacier/StarterI.cpp +++ b/cpp/src/Glacier/StarterI.cpp @@ -776,7 +776,11 @@ Glacier::CryptPasswordVerifierI::checkPermissions( char buff[14]; string salt = p->second.substr(0, 2); +#if OPENSSL_VERSION_NUMBER >= 0x0090700fL DES_fcrypt(password.c_str(), salt.c_str(), buff); +#else + des_fcrypt(password.c_str(), salt.c_str(), buff); +#endif return p->second == buff; } |