Commit b5f09f10 authored by Seblu's avatar Seblu

--no commit message

--no commit message
parent c0378663
......@@ -52,7 +52,7 @@ string Cypher::sha1_64(const char *data, size_t size) {
BIO_get_mem_ptr(b64, &bptr);
if (bptr->length > 0)
ret.insert(0, bptr->data, bptr->length);
ret.insert(0, bptr->data, bptr->length - 1);
throw Error(ERR_CYPHER, "Unable to compute sha1_64");
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