diff --git a/src/create_torrent.cpp b/src/create_torrent.cpp index fe115fad7..b3b6a1013 100644 --- a/src/create_torrent.cpp +++ b/src/create_torrent.cpp @@ -492,6 +492,11 @@ namespace libtorrent m_comment = str; } + void create_torrent::set_encryption_key(std::string const& key) + { + m_encryption_key = key; + } + void create_torrent::set_creator(char const* str) { m_created_by = str;