Assume that the size of a pointer will not change at runtime.
authorbcook <bcook@openbsd.org>
Thu, 22 Jan 2015 03:56:27 +0000 (03:56 +0000)
committerbcook <bcook@openbsd.org>
Thu, 22 Jan 2015 03:56:27 +0000 (03:56 +0000)
commitf86e0285497631defbfa7a1e7bcaf38b1b47d5cf
treed231fe4d2abdc550d960ca5b796f87e41a97fce0
parent3cf360ac98795930edd42590feda79a42523ef73
Assume that the size of a pointer will not change at runtime.

Change the runtime check for whether a long is smaller than a pointer to a
compile-time check. Replace the silly hash for LLP64 platforms.

ok tedu@
lib/libcrypto/cryptlib.c
lib/libssl/src/crypto/cryptlib.c