Skip to content
Commit 36830eca authored by Richard Levitte's avatar Richard Levitte
Browse files

SIZE_MAX doesn't exist everywhere, supply an alternative



SIZE_MAX is a great macro, and does unfortunately not exist everywhere.
Since we check against half of it, using bitwise shift to calculate the
value of half SIZE_MAX should be safe enough.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent 3dc9589c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment