1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-17 11:00:59 -05:00

Rename crc32() to crc32_compute(), to avoid clashing catastrophically

with the crc32() function in the zlib interface. (Not that PuTTY
itself _uses_ zlib, but on Unix it's linked against libgtk which
uses libpng which uses zlib. And zlib has poor namespace management
so it defines this ridiculously intrusive function name. Arrrrgh.)

[originally from svn r3191]
This commit is contained in:
Simon Tatham
2003-05-13 18:23:43 +00:00
parent 99bef3d3cf
commit 06e6997a74
3 changed files with 8 additions and 8 deletions

2
ssh.h
View File

@ -73,7 +73,7 @@ void freersakey(struct RSAKey *key);
typedef unsigned int word32;
typedef unsigned int uint32;
unsigned long crc32(const void *s, size_t len);
unsigned long crc32_compute(const void *s, size_t len);
unsigned long crc32_update(unsigned long crc_input, const void *s, size_t len);
/* SSH CRC compensation attack detector */