lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] [lmi-commits] master bbcdaf5 1/2: Update commentary


From: Greg Chicares
Subject: Re: [lmi] [lmi-commits] master bbcdaf5 1/2: Update commentary
Date: Tue, 5 Jun 2018 13:54:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 2018-06-05 03:17, Greg Chicares wrote:
[...]
>   typedef unsigned short int md5_uint32;

That looked weird in grep output, but it's correct in context:

#  define INT_MAX_32_BITS 2147483647
...
#  if SHRT_MAX == INT_MAX_32_BITS
    typedef unsigned short int md5_uint32;
#  else // !SHRT_MAX == INT_MAX_32_BITS

The MD5 code comes from glibc. It's well tested and reliable.
There's no point in modernizing it: attempting to do so might
introduce new defects.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]