Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham 9351a5bfe4 Fix a 64-bit-cleanness error in sshcrc's generator.
Not that anyone actually needs to use that conditioned-out main(),
since it only generates the table already present in the same source
file, but since @ch3root's unused-variable patch touched it I tried
compiling it and noticed in passing that I'd also got the wrong printf
format directive for an unsigned long.
2016-01-26 22:09:01 +00:00
Simon Tatham 70f641f845 Remove some unused variables.
Thanks to @ch3root again for this patch.
2016-01-26 18:36:26 +00:00
Simon Tatham 06e6997a74 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]
2003-05-13 18:23:43 +00:00
Ben Harris 8345377529 One usually includes .h files, not .c files. That explains why it was
taking so long to compile!

[originally from svn r2487]
2003-01-05 23:48:10 +00:00
Ben Harris 2df3f92ffc Include ssh.h for the crc32() and crc32_update() prototypes.
[originally from svn r2478]
2003-01-05 23:09:53 +00:00
Simon Tatham d237773599 Add the CRC32 compensation attack detector that all other SSH
clients have had for ages and I forgot about. Of course I've got the
version with the buffer overflow fixed!

[originally from svn r1535]
2002-01-08 11:57:32 +00:00
Simon Tatham 3730ada5ce Run entire source base through GNU indent to tidy up the varying
coding styles of the various contributors! Woohoo!

[originally from svn r1098]
2001-05-06 14:35:20 +00:00
Simon Tatham fe500c4d01 New CRC32 implementation, from scratch, not copyrighted by somebody else!
Removed Gary S Brown's name from copyrights. Only Eric Young's DES left :-)

[originally from svn r397]
2000-03-08 16:13:32 +00:00
Simon Tatham c74130d423 Initial checkin: beta 0.43
[originally from svn r11]
1999-01-08 13:02:13 +00:00