64-bit support patch
Brought to you by:
s-nomad
ncrypt does not work properly on 64-bit systems. This is due to 'long' being 4 bytes on 32-bit and 8 bytes on 64-bit. Replacing 'long' with 'uint32_t' from stdint.h fixes this and is much more portable. I've attached a patch that fixes it. Testing is needed before production use.
Apply with 'patch -p1 < 64-bit.patch' in the main program directory, extract the xz first using 'unxz'.