summaryrefslogtreecommitdiff
path: root/content/fetchers/about.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-17 13:40:59 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-17 13:40:59 +0100
commit6002efff274b712c76d54ee0fba27184536cfd48 (patch)
tree6c729dd626005c95c679cf76a5aa198b614d90ca /content/fetchers/about.c
parent125b96b818d7730c4b2d08a5f8533179fe1e7c8a (diff)
downloadnetsurf-6002efff274b712c76d54ee0fba27184536cfd48.tar.gz
netsurf-6002efff274b712c76d54ee0fba27184536cfd48.tar.bz2
get the sign right on the certificate openssl compatability interface
Diffstat (limited to 'content/fetchers/about.c')
-rw-r--r--content/fetchers/about.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 1e0fbdfd1..5d1208dc5 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -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)