get the sign right on the certificate openssl compatability interface

This commit is contained in:
Vincent Sanders 2020-05-17 13:40:59 +01:00
parent 125b96b818
commit 6002efff27

View File

@ -527,9 +527,9 @@ static int ns_X509_get_signature_nid(X509 *cert)
#define ns_X509_get_signature_nid X509_get_signature_nid
#endif
static const char *ns_ASN1_STRING_get0_data(ASN1_STRING *asn1str)
static const unsigned char *ns_ASN1_STRING_get0_data(ASN1_STRING *asn1str)
{
return (const char *)ASN1_STRING_data(asn1str);
return (const unsigned char *)ASN1_STRING_data(asn1str);
}
static const BIGNUM *ns_RSA_get0_n(const RSA *d)