diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-02-18 13:35:41 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-02-18 13:35:41 +0000 |
commit | 4beef81f593c7a774467508280b9817f818959cb (patch) | |
tree | eb4df43f24b7b837113fdf332d520d80ad42dfcb /cpp/src | |
parent | Updated the slice file for Glacier (Glacier.ice) to include comments for (diff) | |
download | ice-4beef81f593c7a774467508280b9817f818959cb.tar.bz2 ice-4beef81f593c7a774467508280b9817f818959cb.tar.xz ice-4beef81f593c7a774467508280b9817f818959cb.zip |
Update.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/SslFactory.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/cpp/src/Ice/SslFactory.cpp b/cpp/src/Ice/SslFactory.cpp index 2210a146d8c..91b31a69d7d 100644 --- a/cpp/src/Ice/SslFactory.cpp +++ b/cpp/src/Ice/SslFactory.cpp @@ -41,11 +41,11 @@ SystemMap Factory::_systemRepository; SslHandleSystemMap Factory::_sslHandleSystemRepository; int Factory::_evict = 0; -extern "C"
-{
- void lockingCallback(int, int, const char*, int);
-}
-
+extern "C" +{ + void lockingCallback(int, int, const char*, int); +} + class SslLockKeeper { @@ -191,21 +191,21 @@ IceSecurity::Ssl::Factory::reapSystems() } } -void
-IceSecurity::Ssl::setSystemCertificateVerifier(const string& systemIdentifier,
- CertificateVerifierType verifierType,
- const CertificateVerifierPtr& certificateVerifier)
-{
- SystemPtr sslSystem = Factory::getSystem(systemIdentifier);
-
- if ((verifierType == Client) || (verifierType == ClientServer))
- {
- sslSystem->setClientCertificateVerifier(certificateVerifier);
- }
-
- if ((verifierType == Server) || (verifierType == ClientServer))
- {
- sslSystem->setServerCertificateVerifier(certificateVerifier);
- }
-}
-
+void +IceSecurity::Ssl::setSystemCertificateVerifier(const string& systemIdentifier, + CertificateVerifierType verifierType, + const CertificateVerifierPtr& certificateVerifier) +{ + SystemPtr sslSystem = Factory::getSystem(systemIdentifier); + + if ((verifierType == Client) || (verifierType == ClientServer)) + { + sslSystem->setClientCertificateVerifier(certificateVerifier); + } + + if ((verifierType == Server) || (verifierType == ClientServer)) + { + sslSystem->setServerCertificateVerifier(certificateVerifier); + } +} + |