fix typo in win_crypto_provider assignment operator
This commit is contained in:
parent
f23daa8262
commit
08bceec4c7
|
@ -72,7 +72,7 @@ namespace libtorrent { namespace aux {
|
||||||
crypt_hash(crypt_hash const& h) { m_hash = duplicate(h); }
|
crypt_hash(crypt_hash const& h) { m_hash = duplicate(h); }
|
||||||
~crypt_hash() { CryptDestroyHash(m_hash); }
|
~crypt_hash() { CryptDestroyHash(m_hash); }
|
||||||
|
|
||||||
crypt_hash& crypt_hash::operator=(crypt_hash const& h) &
|
crypt_hash& operator=(crypt_hash const& h) &
|
||||||
{
|
{
|
||||||
if (this == &h) return *this;
|
if (this == &h) return *this;
|
||||||
HCRYPTHASH temp = duplicate(h);
|
HCRYPTHASH temp = duplicate(h);
|
||||||
|
|
Loading…
Reference in New Issue