Remove unused MD5 functions and fixed memory leak

This commit is contained in:
Jett
2021-12-12 15:53:19 +00:00
parent 830cf22beb
commit 9e032223eb
3 changed files with 8 additions and 14 deletions

View File

@@ -115,14 +115,6 @@ MD5::MD5(const std::string &text)
finalize();
}
// raw md5 construstor
MD5::MD5(const char * input, size_type length)
{
init();
update(input, length);
finalize();
}
//////////////////////////////
void MD5::init()

View File

@@ -54,7 +54,6 @@ public:
MD5();
MD5(const std::string& text);
MD5(const char * input, size_type length);
void update(const unsigned char *buf, size_type length);
void update(const char *buf, size_type length);
MD5& finalize();