arekinath / pivy

Tools for using PIV tokens (like Yubikeys) as an SSH agent, for encrypting data at rest, and more
193 stars 26 forks source link

Fix potential overflow issue #12

Closed jasonbking closed 5 years ago

jasonbking commented 5 years ago

On OS X Mojave, clang warns because size_t * is unsigned long * while uint64_t * is unsigned long long *, and in general there's a potential bug for 32-bit binaries. A simple fix.