diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-11-24 20:50:32 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-11-24 20:50:32 +0000 |
commit | b15923c859af250b967d280108be9e98abf07b9f (patch) | |
tree | 35625972a985950fe88fed647e5bc127e2b0a384 /cpp/src/IceSSL/Context.cpp | |
parent | added Ice.Override.ConnectTimeout (diff) | |
download | ice-b15923c859af250b967d280108be9e98abf07b9f.tar.bz2 ice-b15923c859af250b967d280108be9e98abf07b9f.tar.xz ice-b15923c859af250b967d280108be9e98abf07b9f.zip |
bug fix for certificate loading error
Diffstat (limited to 'cpp/src/IceSSL/Context.cpp')
-rw-r--r-- | cpp/src/IceSSL/Context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Context.cpp b/cpp/src/IceSSL/Context.cpp index 37d8b53f995..71dd0d8af97 100644 --- a/cpp/src/IceSSL/Context.cpp +++ b/cpp/src/IceSSL/Context.cpp @@ -242,7 +242,7 @@ IceSSL::Context::loadCertificateAuthority(const CertificateAuthority& certAuth) caFile = fileName.c_str(); } - if(!certPath.length()) + if(!certPath.empty()) { caPath = certPath.c_str(); } |