# Portability changes to mozilla-sha1

1 messages from 2009-07-24 to 2009-07-24. Participants: Bill Priest.
Thread: https://gitlist.dev/t/20213

## Bill Priest, 2009-07-24 05:32

Subject: Portability changes to mozilla-sha1
Message-ID: <396555.40826.qm@web55001.mail.re4.yahoo.com>
URL: https://gitlist.dev/e/396555.40826.qm%40web55001.mail.re4.yahoo.com

```
All,
    In compiling sha1.c for a micro-controller and testing it I noticed that many of the types of the fields and local variables aren't portable.  Much of git appears to use uint32_t and the like when the size of the variable "matters".
    If a patch was provided to make sha1.[ch] portable in terms of the types used would it be accepted?  Of course the resulting code would be regression tested prior to submission.
    I google'd a little bit but didn't find any prior questions in a similar vein (sorry if I missed it).

Regards,

Bill



      

```
