X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/76d211bbdf3a57afd72b3f3ac736c42cc17e3cac..6e9c03d53920b4c53c9b93303ae676be0f100585:/stglibs/crypto.lib/bfstream.cpp 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(); }