diff options
author | lloyd <[email protected]> | 2010-10-12 23:29:55 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 23:29:55 +0000 |
commit | 2af9ba577730f071eef44b3ba492c3bfad0a8ec6 (patch) | |
tree | 92a4c4e973756225d42bb99a99110b2669be7299 /src/engine/openssl | |
parent | 97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff) |
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/engine/openssl')
-rw-r--r-- | src/engine/openssl/ossl_md.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/openssl/ossl_md.cpp b/src/engine/openssl/ossl_md.cpp index f41e0f950..b2707eec4 100644 --- a/src/engine/openssl/ossl_md.cpp +++ b/src/engine/openssl/ossl_md.cpp @@ -24,7 +24,7 @@ class EVP_HashFunction : public HashFunction EVP_HashFunction(const EVP_MD*, const std::string&); ~EVP_HashFunction(); private: - void add_data(const byte[], u32bit); + void add_data(const byte[], size_t); void final_result(byte[]); std::string algo_name; @@ -34,7 +34,7 @@ class EVP_HashFunction : public HashFunction /* * Update an EVP Hash Calculation */ -void EVP_HashFunction::add_data(const byte input[], u32bit length) +void EVP_HashFunction::add_data(const byte input[], size_t length) { EVP_DigestUpdate(&md, input, length); } |