diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-02-23 17:19:45 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-02-23 17:19:45 +0000 |
commit | 7039973a1f886fb5651c94495a042eba5940a4d9 (patch) | |
tree | 677051adea8de9fc03b4501225ed7e2aaabc37fa /frontends/monkey | |
parent | 0c34d06494afe217ace7460c66df800d457dd2e8 (diff) | |
download | netsurf-7039973a1f886fb5651c94495a042eba5940a4d9.tar.gz netsurf-7039973a1f886fb5651c94495a042eba5940a4d9.tar.bz2 |
fix frontends to cope with certificate chain update
Diffstat (limited to 'frontends/monkey')
-rw-r--r-- | frontends/monkey/cert.c | 4 | ||||
-rw-r--r-- | frontends/monkey/cert.h | 8 |
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); |