From 225c7fb0b6ac5ef234d16231eb134dc91b78d889 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 17 Sep 2014 09:34:18 +0300 Subject: [PATCH 1/1] Minor change in BFStream. --- stglibs/crypto.lib/bfstream.cpp | 10 +++++----- stglibs/crypto.lib/include/stg/bfstream.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stglibs/crypto.lib/bfstream.cpp b/stglibs/crypto.lib/bfstream.cpp index 21a0d55d..9c3f678e 100644 --- a/stglibs/crypto.lib/bfstream.cpp +++ b/stglibs/crypto.lib/bfstream.cpp @@ -49,7 +49,7 @@ class COMMON m_tryConsume(last); } - bool isOk() const { return m_ok; } + bool IsOk() const { return m_ok; } private: char m_buffer[BUFFER_SIZE]; @@ -116,9 +116,9 @@ void ENCRYPT_STREAM::Put(const void * data, size_t size, bool last) m_impl->Put(data, size, last); } -bool ENCRYPT_STREAM::isOk() const +bool ENCRYPT_STREAM::IsOk() const { -return m_impl->isOk(); +return m_impl->IsOk(); } DECRYPT_STREAM::DECRYPT_STREAM(const std::string & key, CALLBACK callback, void * data) @@ -135,7 +135,7 @@ void DECRYPT_STREAM::Put(const void * data, size_t size, bool last) m_impl->Put(data, size, last); } -bool DECRYPT_STREAM::isOk() const +bool DECRYPT_STREAM::IsOk() const { -return m_impl->isOk(); +return m_impl->IsOk(); } diff --git a/stglibs/crypto.lib/include/stg/bfstream.h b/stglibs/crypto.lib/include/stg/bfstream.h index bead8d00..ae955b94 100644 --- a/stglibs/crypto.lib/include/stg/bfstream.h +++ b/stglibs/crypto.lib/include/stg/bfstream.h @@ -16,7 +16,7 @@ class ENCRYPT_STREAM ~ENCRYPT_STREAM(); void Put(const void * data, size_t size, bool last = false); - bool isOk() const; + bool IsOk() const; private: class IMPL; @@ -33,7 +33,7 @@ class DECRYPT_STREAM ~DECRYPT_STREAM(); void Put(const void * data, size_t size, bool last = false); - bool isOk() const; + bool IsOk() const; private: class IMPL; -- 2.44.2