mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-17 10:10:12 +00:00
windows warnings workaround
This commit is contained in:
parent
a2fd956c41
commit
f8d6561f60
@ -13,6 +13,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define FD_SETSIZE 1024 // max number of fds in fd_set
|
#define FD_SETSIZE 1024 // max number of fds in fd_set
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#include <windows.h>
|
||||||
#include <mswsock.h>
|
#include <mswsock.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#else
|
#else
|
||||||
|
@ -6,9 +6,12 @@
|
|||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
/*
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
#include "crypter.h"
|
#include "crypter.h"
|
||||||
|
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#include "Gost.h"
|
||||||
|
#include "key.h"
|
||||||
|
|
||||||
#include <openssl/ecdsa.h>
|
#include <openssl/ecdsa.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include <openssl/obj_mac.h>
|
#include <openssl/obj_mac.h>
|
||||||
#include "Gost.h"
|
|
||||||
|
|
||||||
#include "key.h"
|
|
||||||
|
|
||||||
|
|
||||||
// anonymous namespace with local implementation code (OpenSSL interaction)
|
// anonymous namespace with local implementation code (OpenSSL interaction)
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -32,6 +32,7 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* // Never used:
|
||||||
static void noui_ThreadSafeShowGeneratedI2PAddress(const std::string& caption, const std::string& pub, const std::string& priv, const std::string& b32, const std::string& configFileName)
|
static void noui_ThreadSafeShowGeneratedI2PAddress(const std::string& caption, const std::string& pub, const std::string& priv, const std::string& b32, const std::string& configFileName)
|
||||||
{
|
{
|
||||||
std::string msg = "\nIf you want to use a permanent I2P-address you have to set a \'mydestination\' option in the configuration file:\n";
|
std::string msg = "\nIf you want to use a permanent I2P-address you have to set a \'mydestination\' option in the configuration file:\n";
|
||||||
@ -50,6 +51,7 @@ static void noui_ThreadSafeShowGeneratedI2PAddress(const std::string& caption, c
|
|||||||
printf("%s: %s\n", caption.c_str(), msg.c_str());
|
printf("%s: %s\n", caption.c_str(), msg.c_str());
|
||||||
fprintf(stderr, "%s: %s\n", caption.c_str(), msg.c_str());
|
fprintf(stderr, "%s: %s\n", caption.c_str(), msg.c_str());
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/)
|
static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/)
|
||||||
{
|
{
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "net.h"
|
|
||||||
#include "bitcoinrpc.h"
|
#include "bitcoinrpc.h"
|
||||||
|
#include "net.h"
|
||||||
|
|
||||||
using namespace json_spirit;
|
using namespace json_spirit;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user