LibreSSL compatibility fix