Menu

#3 64-bit support patch

Unverified
open
nobody
None
5
2014-07-07
2014-07-07
And Sch
No

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'.

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB