diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-13 20:10:07 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-13 20:10:07 +0000 |
commit | 27c5fa0a95a523c5bea82eecc420e805b4533aae (patch) | |
tree | b18f7be9632d266d7e8f6c16b02de831a3e11d57 /cpp/src/Ice/CryptKey.cpp | |
parent | cleanup (diff) | |
download | ice-27c5fa0a95a523c5bea82eecc420e805b4533aae.tar.bz2 ice-27c5fa0a95a523c5bea82eecc420e805b4533aae.tar.xz ice-27c5fa0a95a523c5bea82eecc420e805b4533aae.zip |
Refactor of SSL Extension, phase 1.
Diffstat (limited to 'cpp/src/Ice/CryptKey.cpp')
-rw-r--r-- | cpp/src/Ice/CryptKey.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/Ice/CryptKey.cpp b/cpp/src/Ice/CryptKey.cpp index cee409edea1..e9cf4c5ddfa 100644 --- a/cpp/src/Ice/CryptKey.cpp +++ b/cpp/src/Ice/CryptKey.cpp @@ -12,38 +12,38 @@ using Ice::ByteSeq; -void ::IceInternal::incRef(::IceSecurity::SecureUdp::CryptKey* p) { p->__incRef(); } -void ::IceInternal::decRef(::IceSecurity::SecureUdp::CryptKey* p) { p->__decRef(); } +void ::IceInternal::incRef(::SecureUdp::CryptKey* p) { p->__incRef(); } +void ::IceInternal::decRef(::SecureUdp::CryptKey* p) { p->__decRef(); } -IceSecurity::SecureUdp::CryptKey::CryptKey(const ByteSeq& key) : +SecureUdp::CryptKey::CryptKey(const ByteSeq& key) : _keyBytes(key) { } -IceSecurity::SecureUdp::CryptKey::~CryptKey() +SecureUdp::CryptKey::~CryptKey() { } const ByteSeq& -IceSecurity::SecureUdp::CryptKey::toByteSeq() const +SecureUdp::CryptKey::toByteSeq() const { return _keyBytes; } bool -IceSecurity::SecureUdp::CryptKey::operator == (const CryptKey& key) const +SecureUdp::CryptKey::operator == (const CryptKey& key) const { return _keyBytes == key._keyBytes; } bool -IceSecurity::SecureUdp::CryptKey::operator != (const CryptKey& key) const +SecureUdp::CryptKey::operator != (const CryptKey& key) const { return !operator==(key); } bool -IceSecurity::SecureUdp::CryptKey::operator < (const CryptKey& key) const +SecureUdp::CryptKey::operator < (const CryptKey& key) const { return _keyBytes < key._keyBytes; } |