summaryrefslogtreecommitdiff
path: root/frontends/monkey
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/monkey')
-rw-r--r--frontends/monkey/cert.c4
-rw-r--r--frontends/monkey/cert.h8
2 files changed, 6 insertions, 6 deletions
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);