summaryrefslogtreecommitdiff
path: root/frontends/riscos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-02-23 17:19:45 +0000
committerVincent Sanders <vince@kyllikki.org>2020-02-23 17:19:45 +0000
commit7039973a1f886fb5651c94495a042eba5940a4d9 (patch)
tree677051adea8de9fc03b4501225ed7e2aaabc37fa /frontends/riscos
parent0c34d06494afe217ace7460c66df800d457dd2e8 (diff)
downloadnetsurf-7039973a1f886fb5651c94495a042eba5940a4d9.tar.gz
netsurf-7039973a1f886fb5651c94495a042eba5940a4d9.tar.bz2
fix frontends to cope with certificate chain update
Diffstat (limited to 'frontends/riscos')
-rw-r--r--frontends/riscos/sslcert.c5
-rw-r--r--frontends/riscos/sslcert.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/frontends/riscos/sslcert.c b/frontends/riscos/sslcert.c
index 961e48339..815f7e910 100644
--- a/frontends/riscos/sslcert.c
+++ b/frontends/riscos/sslcert.c
@@ -312,8 +312,7 @@ cert_mouse(struct ro_corewindow *ro_cw,
/* exported interface documented in riscos/sslcert.h */
nserror
gui_cert_verify(nsurl *url,
- const struct ssl_cert_info *certs,
- unsigned long num,
+ const struct cert_chain *chain,
nserror (*cb)(bool proceed, void *pw),
void *cbpw)
{
@@ -327,7 +326,7 @@ gui_cert_verify(nsurl *url,
}
/* initialise certificate viewing interface */
- res = sslcert_viewer_create_session_data(num, url, cb, cbpw, certs,
+ res = sslcert_viewer_create_session_data(url, cb, cbpw, chain,
&ncwin->ssl_data);
if (res != NSERROR_OK) {
free(ncwin);
diff --git a/frontends/riscos/sslcert.h b/frontends/riscos/sslcert.h
index 09607f04c..613db1a47 100644
--- a/frontends/riscos/sslcert.h
+++ b/frontends/riscos/sslcert.h
@@ -41,7 +41,7 @@ void ro_gui_cert_initialise(void);
* \param cb Callback upon user decision.
* \param cbpw Context pointer passed to cb
*/
-nserror gui_cert_verify(struct nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), void *cbpw);
+nserror gui_cert_verify(struct nsurl *url, const struct cert_chain *chain, nserror (*cb)(bool proceed, void *pw), void *cbpw);
#endif