mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Change the API for checksum to use const qualifier.
* g10/main.h (checksum): Use const. * g10/misc.c (checksum): Use const. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
3151210e45
commit
21d8927f79
@ -110,7 +110,7 @@ void unregister_secured_file (const char *fname);
|
||||
int is_secured_file (int fd);
|
||||
int is_secured_filename (const char *fname);
|
||||
u16 checksum_u16( unsigned n );
|
||||
u16 checksum( byte *p, unsigned n );
|
||||
u16 checksum( const byte *p, unsigned n );
|
||||
u16 checksum_mpi( gcry_mpi_t a );
|
||||
u32 buffer_to_u32( const byte *buffer );
|
||||
const byte *get_session_marker( size_t *rlen );
|
||||
|
@ -241,7 +241,7 @@ checksum_u16( unsigned n )
|
||||
|
||||
|
||||
u16
|
||||
checksum( byte *p, unsigned n )
|
||||
checksum (const byte *p, unsigned n)
|
||||
{
|
||||
u16 a;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user