From da48660b9b60cd717e856ed503bcc55ed91d755a Mon Sep 17 00:00:00 2001 From: Pavel Brychta Date: Thu, 14 Oct 2021 11:56:43 +0200 Subject: [PATCH] Bugfix - missing return statements --- src/MySQL_Encrypt_Sha1.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MySQL_Encrypt_Sha1.cpp b/src/MySQL_Encrypt_Sha1.cpp index 16160ca..7b4d227 100644 --- a/src/MySQL_Encrypt_Sha1.cpp +++ b/src/MySQL_Encrypt_Sha1.cpp @@ -86,12 +86,14 @@ void Encrypt_SHA1::addUncounted(uint8_t data) { size_t Encrypt_SHA1::write(uint8_t data) { ++byteCount; addUncounted(data); + return 1; } size_t Encrypt_SHA1::write(uint8_t* data, int length) { for (int i=0; i