Attempt to fix overflow bug in OpenSSL

OpenSSL is a pile of shit