--- trunk/kdesupport/qca/src/botantools/botan/botan/secmem.h 2012/01/14 16:09:19 1273507 +++ trunk/kdesupport/qca/src/botantools/botan/botan/secmem.h 2012/01/14 17:12:15 1273508 @@ -191,15 +191,15 @@ { public: MemoryVector& operator=(const MemoryRegion& in) - { if(this != &in) set(in); return (*this); } + { if(this != &in) this->set(in); return (*this); } MemoryVector(u32bit n = 0) { MemoryRegion::init(false, n); } MemoryVector(const T in[], u32bit n) - { MemoryRegion::init(false); set(in, n); } + { MemoryRegion::init(false); this->set(in, n); } MemoryVector(const MemoryRegion& in) - { MemoryRegion::init(false); set(in); } + { MemoryRegion::init(false); this->set(in); } MemoryVector(const MemoryRegion& in1, const MemoryRegion& in2) - { MemoryRegion::init(false); set(in1); append(in2); } + { MemoryRegion::init(false); this->set(in1); append(in2); } }; /************************************************* @@ -210,15 +210,15 @@ { public: SecureVector& operator=(const MemoryRegion& in) - { if(this != &in) set(in); return (*this); } + { if(this != &in) this->set(in); return (*this); } SecureVector(u32bit n = 0) { MemoryRegion::init(true, n); } SecureVector(const T in[], u32bit n) - { MemoryRegion::init(true); set(in, n); } + { MemoryRegion::init(true); this->set(in, n); } SecureVector(const MemoryRegion& in) - { MemoryRegion::init(true); set(in); } + { MemoryRegion::init(true); this->set(in); } SecureVector(const MemoryRegion& in1, const MemoryRegion& in2) - { MemoryRegion::init(true); set(in1); append(in2); } + { MemoryRegion::init(true); this->set(in1); append(in2); } }; /************************************************* @@ -229,14 +229,14 @@ { public: SecureBuffer& operator=(const SecureBuffer& in) - { if(this != &in) set(in); return (*this); } + { if(this != &in) this->set(in); return (*this); } SecureBuffer() { MemoryRegion::init(true, L); } SecureBuffer(const T in[], u32bit n) { MemoryRegion::init(true, L); copy(in, n); } private: SecureBuffer& operator=(const MemoryRegion& in) - { if(this != &in) set(in); return (*this); } + { if(this != &in) this->set(in); return (*this); } }; }