add few necessarry const qualifiers for pointers

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-24 02:38:42 +02:00
parent b6b4ea5fd1
commit 848c83e75c
2 changed files with 4 additions and 2 deletions

View file

@ -345,7 +345,8 @@ grub_crypto_hmac_init (const struct gcry_md_spec *md,
}
void
grub_crypto_hmac_write (struct grub_crypto_hmac_handle *hnd, void *data,
grub_crypto_hmac_write (struct grub_crypto_hmac_handle *hnd,
const void *data,
grub_size_t datalen)
{
hnd->md->write (hnd->ctx, data, datalen);