X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/23e4df365f332a92d97fae27212b2cf777d5b8e0..b3d375b244187cd77f45dc013668e6273e133179:/ssh.h diff --git a/ssh.h b/ssh.h index d17920c4..3d02ad7d 100644 --- a/ssh.h +++ b/ssh.h @@ -71,8 +71,12 @@ unsigned char *rsa_public_blob(struct RSAKey *key, int *len); int rsa_public_blob_len(void *data, int maxlen); void freersakey(struct RSAKey *key); -typedef unsigned int word32; +#ifndef PUTTY_UINT32_DEFINED +/* This makes assumptions about the int type. */ typedef unsigned int uint32; +#define PUTTY_UINT32_DEFINED +#endif +typedef uint32 word32; unsigned long crc32_compute(const void *s, size_t len); unsigned long crc32_update(unsigned long crc_input, const void *s, size_t len);