1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 00:14:20 +00:00

fixed windows build error

This commit is contained in:
orignal 2017-04-13 14:44:38 -04:00
parent c29acd61a1
commit 6e3d5aa530

View File

@ -3,9 +3,6 @@
#include <array>
#include <openssl/sha.h>
#include <openssl/evp.h>
#ifdef WIN32
#include <winsock2.h> // for htoll
#endif
#include "Gost.h"
namespace i2p
@ -360,7 +357,8 @@ namespace crypto
}
}
#ifdef WIN32
ll[i] = htoll (c);
for (int k = 0; k < 8; k++)
buf[k] = ((uint8_t *)&c)[7-k];
#else
ll[i] = htobe64 (c); // TODO:
#endif