Commit 3f39e7f4 authored by Mattias Ellert's avatar Mattias Ellert

Remove redundant _init (already done in _new)

parent 331b6ec1
......@@ -51,7 +51,6 @@ std::string FileCacheHash::getHash(std::string url) {
unsigned char md_value[EVP_MAX_MD_SIZE];
unsigned int md_len, i;
EVP_DigestInit_ex(mdctx, md, NULL);
EVP_DigestUpdate(mdctx, mess1, strlen(mess1));
EVP_DigestFinal_ex(mdctx, md_value, &md_len);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment