Make HTTPProxy use SIGNING_KEY_TYPE_DSA_SHA1

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2015-01-07 21:15:04 +01:00
parent 29039fd039
commit bcbe207515
4 changed files with 11 additions and 5 deletions

View file

@ -26,7 +26,7 @@ namespace proxy
void HandleAccept(const boost::system::error_code& ecode, boost::asio::ip::tcp::socket * socket);
public:
HTTPProxyServer(int port) : I2PService(nullptr),
HTTPProxyServer(int port) : I2PService(i2p::data::SIGNING_KEY_TYPE_DSA_SHA1),
m_Acceptor (GetService (), boost::asio::ip::tcp::endpoint (boost::asio::ip::tcp::v4(), port)),
m_Timer (GetService ()) {};
~HTTPProxyServer() { Stop(); }