1
0
Fork 0

Merging upstream version 1.25~pre1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-21 11:33:15 +01:00
parent 8062cdcacd
commit 3e4c2fba01
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
60 changed files with 5261 additions and 1250 deletions

2
md5.h
View file

@ -23,7 +23,7 @@ struct md5_type
uint8_t data[16]; // 128-bit md5 digest
bool operator==( const md5_type & d ) const
{ return ( std::memcmp( data, d.data, 16 ) == 0 ); }
{ return std::memcmp( data, d.data, 16 ) == 0; }
bool operator!=( const md5_type & d ) const { return !( *this == d ); }
// const uint8_t & operator[]( const int i ) const { return data[i]; }
uint8_t & operator[]( const int i ) { return data[i]; }