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

fixed windows build error

This commit is contained in:
orignal 2017-04-13 14:29:43 -04:00
parent d08c15869a
commit c29acd61a1

View File

@ -3,6 +3,9 @@
#include <array>
#include <openssl/sha.h>
#include <openssl/evp.h>
#ifdef WIN32
#include <winsock2.h> // for htoll
#endif
#include "Gost.h"
namespace i2p
@ -356,7 +359,11 @@ namespace crypto
bit >>= 1;
}
}
#ifdef WIN32
ll[i] = htoll (c);
#else
ll[i] = htobe64 (c); // TODO:
#endif
}
}