+2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/crypto.h: Don't discard const attribute.
+
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
}
while (size >= sizeof (grub_uint64_t))
{
- *(grub_uint64_t *) (void *) outptr
- = (*(grub_uint64_t *) (void *) in1ptr
- ^ *(grub_uint64_t *) (void *) in2ptr);
+ *(grub_uint64_t *) outptr
+ = (*(const grub_uint64_t *) in1ptr
+ ^ *(const grub_uint64_t *) in2ptr);
in1ptr += sizeof (grub_uint64_t);
in2ptr += sizeof (grub_uint64_t);
outptr += sizeof (grub_uint64_t);
void *out, const void *in, grub_size_t size);
gcry_err_code_t
grub_crypto_cbc_encrypt (grub_crypto_cipher_handle_t cipher,
- void *out, void *in, grub_size_t size,
+ void *out, const void *in, grub_size_t size,
void *iv_in);
gcry_err_code_t
grub_crypto_cbc_decrypt (grub_crypto_cipher_handle_t cipher,