Unstupided mathematical expression
This commit is contained in:
parent
c3ff7a1326
commit
660ab5e999
@ -31,7 +31,7 @@ namespace Leonetienne::GCrypt {
|
|||||||
|
|
||||||
Key Key::LoadFromFile(const std::string& path) {
|
Key Key::LoadFromFile(const std::string& path) {
|
||||||
// Read this many chars
|
// Read this many chars
|
||||||
const std::size_t maxChars = Key::BLOCK_SIZE_BITS / 8;
|
const std::size_t maxChars = Key::BLOCK_SIZE;
|
||||||
|
|
||||||
// Open ifilestream for keyfile
|
// Open ifilestream for keyfile
|
||||||
std::ifstream ifs(path, std::ios::in | std::ios::binary);
|
std::ifstream ifs(path, std::ios::in | std::ios::binary);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user