aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/openssl/ossl_md.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/openssl/ossl_md.cpp')
-rw-r--r--src/engine/openssl/ossl_md.cpp4
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);
}