From 7039973a1f886fb5651c94495a042eba5940a4d9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 23 Feb 2020 17:19:45 +0000 Subject: fix frontends to cope with certificate chain update --- frontends/monkey/cert.c | 4 ++-- frontends/monkey/cert.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'frontends/monkey') diff --git a/frontends/monkey/cert.c b/frontends/monkey/cert.c index ddcd1137c..3ec2fbee0 100644 --- a/frontends/monkey/cert.c +++ b/frontends/monkey/cert.c @@ -40,8 +40,8 @@ static uint32_t cert_ctr = 0; nserror gui_cert_verify(nsurl *url, - const struct ssl_cert_info *certs, - unsigned long num, nserror (*cb)(bool proceed, void *pw), + const struct cert_chain *chain, + nserror (*cb)(bool proceed, void *pw), void *cbpw) { struct monkey_cert *mcrt_ctx; diff --git a/frontends/monkey/cert.h b/frontends/monkey/cert.h index 56feea782..ff499ed16 100644 --- a/frontends/monkey/cert.h +++ b/frontends/monkey/cert.h @@ -19,11 +19,11 @@ #ifndef NETSURF_MONKEY_CERT_H #define NETSURF_MONKEY_CERT_H -struct ssl_cert_info; +struct cert_chain; -nserror gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, - unsigned long num, nserror (*cb)(bool proceed, void *pw), - void *cbpw); +nserror gui_cert_verify(nsurl *url, const struct cert_chain *certs, + nserror (*cb)(bool proceed, void *pw), + void *cbpw); void monkey_sslcert_handle_command(int argc, char **argv); -- cgit v1.2.3