This commit is contained in:
arvidn 2015-08-21 10:43:14 +02:00
parent b7b0dafcca
commit 26b721973f
1 changed files with 1 additions and 1 deletions

View File

@ -5845,7 +5845,7 @@ namespace libtorrent
std::string password_callback(int length, boost::asio::ssl::context::password_purpose p
, std::string pw)
{
TORRENT_UNUSED(p);
TORRENT_UNUSED(length);
if (p != boost::asio::ssl::context::for_reading) return "";
return pw;