Build with LibreSSL as well
LibreSSL pretends to be OpenSSL 2.0.0, and doesn't have the ASN1_INTEGER_get_int64() function we use. Work around that.
LibreSSL pretends to be OpenSSL 2.0.0, and doesn't have the ASN1_INTEGER_get_int64() function we use. Work around that.