fixed a few bugs in new TorManager

This commit is contained in:
csoler 2021-12-09 22:19:00 +01:00
parent a757419d65
commit 7c77cfd603
7 changed files with 23 additions and 15 deletions

View file

@ -82,7 +82,7 @@ bool CryptoKey::loadFromFile(const std::string& path)
ByteArray data ;
int c;
while(EOF != (c=fgetc(file)))
data.append((unsigned char)c);
data.push_back((unsigned char)c);
fclose(file);