From 7bcd3cb5bc6401a904b210261abaeb45405fba06 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Mon, 27 Oct 2014 21:09:46 -0700 Subject: [PATCH] aaand more bugs --- external/3rd/library/soePlatform/ChatAPI/utils/Base/MD5.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/3rd/library/soePlatform/ChatAPI/utils/Base/MD5.cpp b/external/3rd/library/soePlatform/ChatAPI/utils/Base/MD5.cpp index 108ab14a..689c3e3f 100644 --- a/external/3rd/library/soePlatform/ChatAPI/utils/Base/MD5.cpp +++ b/external/3rd/library/soePlatform/ChatAPI/utils/Base/MD5.cpp @@ -132,7 +132,7 @@ namespace Base finalsNull = true; } - void MD5::Transform(State & state1, vector achar0, int i) + void MD5::Transform(State & state1, const vector &achar0, int i) { int j = state1.state[0]; int k = state1.state[1]; @@ -216,7 +216,7 @@ namespace Base Update(achar0, 1); } - void MD5::Update(State & state1, vector achar0, int i, int j) + void MD5::Update(State & state1, const vector &achar0, int i, int j) { finalsNull = true; if (j - i > (int)achar0.size())