diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-07-17 18:51:33 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-07-17 18:51:33 (GMT) |
commit | 2a690f23a71f5f24550df112e0544b32826655db (patch) | |
tree | 129cba4d1adce423f50ce444d91cf096bef1ad36 /Swiften/StringCodecs/SHA1_Windows.h | |
parent | a9614f60e0eff29b450bc33c0e8e342b59bc7a04 (diff) | |
download | swift-contrib-2a690f23a71f5f24550df112e0544b32826655db.zip swift-contrib-2a690f23a71f5f24550df112e0544b32826655db.tar.bz2 |
Only acquire crypt context once on Windows.
Diffstat (limited to 'Swiften/StringCodecs/SHA1_Windows.h')
-rw-r--r-- | Swiften/StringCodecs/SHA1_Windows.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swiften/StringCodecs/SHA1_Windows.h b/Swiften/StringCodecs/SHA1_Windows.h index c485040..51786ca 100644 --- a/Swiften/StringCodecs/SHA1_Windows.h +++ b/Swiften/StringCodecs/SHA1_Windows.h @@ -39,7 +39,6 @@ namespace Swift { SHA1& update(const unsigned char* data, size_t dataSize); private: - HCRYPTPROV hCryptProv; - HCRYPTHASH hHash; + HCRYPTHASH hash; }; } |