VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Streebog.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 10:37:45 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-16 10:42:44 (GMT)
commit625259d2260ae26234595aadeb87d74244b9962d (patch)
treeff2351933c437cb4bc49df76f38caa9475e926ab /src/Crypto/Streebog.c
parent2fef14ff7626f2879b2a8de721a03c7e0f7ff9f6 (diff)
downloadVeraCrypt-625259d2260ae26234595aadeb87d74244b9962d.zip
VeraCrypt-625259d2260ae26234595aadeb87d74244b9962d.tar.gz
Fix compilation error in Streebog code caused by latest changes.
Diffstat (limited to 'src/Crypto/Streebog.c')
-rw-r--r--src/Crypto/Streebog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/Streebog.c b/src/Crypto/Streebog.c
index d13d58d..a5fbdbf 100644
--- a/src/Crypto/Streebog.c
+++ b/src/Crypto/Streebog.c
@@ -2347,7 +2347,7 @@ stage3(STREEBOG_CTX *CTX)
memcpy((CTX->hash), (CTX->h), 8 * sizeof(unsigned long long));
}
-void STREEBOG_add(STREEBOG_CTX *CTX, byte *data, size_t len)
+void STREEBOG_add(STREEBOG_CTX *CTX, const byte *data, size_t len)
{
size_t chunksize;