diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
commit | c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb (patch) | |
tree | cd9ddef90cf2f5496be9abc07e3018bb294d8213 /cpp/src/Ice/DHParams.cpp | |
parent | removed shutdown() from acceptor (diff) | |
download | ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.bz2 ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.xz ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.zip |
cleanup
Diffstat (limited to 'cpp/src/Ice/DHParams.cpp')
-rw-r--r-- | cpp/src/Ice/DHParams.cpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/cpp/src/Ice/DHParams.cpp b/cpp/src/Ice/DHParams.cpp index c67ade7e5e6..232923a213c 100644 --- a/cpp/src/Ice/DHParams.cpp +++ b/cpp/src/Ice/DHParams.cpp @@ -1,35 +1,35 @@ -// **********************************************************************
-//
-// Copyright (c) 2002
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#include <Ice/DHParams.h>
-
-void ::IceInternal::incRef(::IceSSL::OpenSSL::DHParams* p) { p->__incRef(); }
-void ::IceInternal::decRef(::IceSSL::OpenSSL::DHParams* p) { p->__decRef(); }
-
-IceSSL::OpenSSL::DHParams::DHParams(DH* dhParams) :
- _dhParams(dhParams)
-{
- assert(_dhParams != 0);
-}
-
-IceSSL::OpenSSL::DHParams::~DHParams()
-{
- if (_dhParams != 0)
- {
- DH_free(_dhParams);
- }
-}
-
-DH*
-IceSSL::OpenSSL::DHParams::get() const
-{
- return _dhParams;
-}
-
+// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#include <Ice/DHParams.h> + +void ::IceInternal::incRef(::IceSSL::OpenSSL::DHParams* p) { p->__incRef(); } +void ::IceInternal::decRef(::IceSSL::OpenSSL::DHParams* p) { p->__decRef(); } + +IceSSL::OpenSSL::DHParams::DHParams(DH* dhParams) : + _dhParams(dhParams) +{ + assert(_dhParams != 0); +} + +IceSSL::OpenSSL::DHParams::~DHParams() +{ + if (_dhParams != 0) + { + DH_free(_dhParams); + } +} + +DH* +IceSSL::OpenSSL::DHParams::get() const +{ + return _dhParams; +} + |