Fix some minor compilation problems in crypto backends.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@463 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-03-14 16:44:56 +00:00
parent 85e71a8680
commit 143603c471
4 changed files with 6 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ int crypt_hmac_restart(struct crypt_hmac *ctx)
int crypt_hmac_write(struct crypt_hmac *ctx, const char *buffer, size_t length)
{
HMAC_Update(&ctx->md, buffer, length);
HMAC_Update(&ctx->md, (const unsigned char *)buffer, length);
return 0;
}