* grub-core/lib/libgcrypt/cipher/md4.c (transform) [WORDS_BIGENDIAN]:
Add missing const attribute. * grub-core/lib/libgcrypt/cipher/md5.c (transform) [WORDS_BIGENDIAN]: Likewise. * grub-core/lib/libgcrypt/cipher/rmd160.c (transform) [WORDS_BIGENDIAN]: Likewise.
This commit is contained in:
parent
8e54b4b76a
commit
e5f4d2607a
4 changed files with 15 additions and 3 deletions
|
@ -101,7 +101,8 @@ transform ( MD4_CONTEXT *ctx, const unsigned char *data )
|
|||
#ifdef WORDS_BIGENDIAN
|
||||
{
|
||||
int i;
|
||||
byte *p2, *p1;
|
||||
byte *p2;
|
||||
const byte *p1;
|
||||
for(i=0, p1=data, p2=(byte*)in; i < 16; i++, p2 += 4 )
|
||||
{
|
||||
p2[3] = *p1++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue