X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/06e09f436f7fd784822ec29f66d37e60d01e24a4..78280721237452736c89a89866380e0673f29cb3:/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);