Fix: Issue #1 ([CLI] --ostdout uses BitsToString instead of BitsToBytes)
This commit is contained in:
parent
01f8eddcac
commit
9bac50271e
@ -1,2 +1,2 @@
|
||||
#pragma once
|
||||
#define GHETTOCRYPTCLI_VERSION 0.121
|
||||
#define GHETTOCRYPTCLI_VERSION 0.122
|
||||
|
Binary file not shown.
@ -173,7 +173,7 @@ int main(int argc, char** argv)
|
||||
// Dump to stdout?
|
||||
if (CommandlineInterface::Get().HasParam("--ostdout"))
|
||||
{
|
||||
const std::string outstr = BitsToString(output);
|
||||
const std::string outstr = BitsToBytes(output);
|
||||
|
||||
// We have to print char-by-char to prevent a nullbyte terminating output.
|
||||
for (std::size_t i = 0; i < outstr.size(); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user