From 7b75dd9d4afd6030fe1837ea7d2d3fcd225ae785 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Feb 2008 00:25:29 +0000 Subject: further cleanups cipher could work now --- buffer.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index e3d8b58..1a426e1 100644 --- a/buffer.h +++ b/buffer.h @@ -61,14 +61,9 @@ public: u_int8_t operator[](u_int32_t index) const; std::string getHexDump() const; - operator u_int8_t*(); // just for write/read tun and packetSource -protected: - friend class TunDevice; - friend class UDPPacketSource; - friend class AesIcmCipher; - friend class KeyDerivation; // - friend class Mpi; + operator u_int8_t*(); +protected: u_int8_t *buf_; u_int32_t length_; }; -- cgit v1.2.3