diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
commit | a15cd68f0412e1b211e746a2e4d5682e96f5a113 (patch) | |
tree | d09d41832621cfc07957dbbcd60077fdf96b7e66 /plugins/CryptoPP/src/cpp_rsau.cpp | |
parent | 85bd008c039eb1d93894e94fba9d158a42a71a12 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/cpp_rsau.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_rsau.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CryptoPP/src/cpp_rsau.cpp b/plugins/CryptoPP/src/cpp_rsau.cpp index b0913219fa..b2bc42d302 100644 --- a/plugins/CryptoPP/src/cpp_rsau.cpp +++ b/plugins/CryptoPP/src/cpp_rsau.cpp @@ -111,7 +111,7 @@ string hash(string& b) return ::hash((PBYTE)b.data(), b.length());
}
-string hash(PBYTE b, int l)
+string hash(PBYTE b, size_t l)
{
BYTE h[RSA_KEYSIZE];
RSA_CalculateDigest(h, b, l);
@@ -129,7 +129,7 @@ string hash128(LPSTR b) return hash128((PBYTE)b, strlen(b));
}
-string hash128(PBYTE b, int l)
+string hash128(PBYTE b, size_t l)
{
BYTE h[RIPEMD128::DIGESTSIZE];
RIPEMD128().CalculateDigest(h, b, l);
@@ -147,7 +147,7 @@ string hash256(LPSTR b) return hash256((PBYTE)b, strlen(b));
}
-string hash256(PBYTE b, int l)
+string hash256(PBYTE b, size_t l)
{
BYTE h[RIPEMD256::DIGESTSIZE];
RIPEMD256().CalculateDigest(h, b, l);
|