diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-02-23 16:06:52 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-02-23 16:23:50 +0000 |
commit | 0c34d06494afe217ace7460c66df800d457dd2e8 (patch) | |
tree | 17cc135e3513e7235421502e2e58a2f44ff1a137 /include/netsurf/misc.h | |
parent | 214478fc15a2b9ee67e19e08cf27657c0157037a (diff) | |
download | netsurf-0c34d06494afe217ace7460c66df800d457dd2e8.tar.gz netsurf-0c34d06494afe217ace7460c66df800d457dd2e8.tar.bz2 |
Keep the complete certificate chain from a fetch
Instead of extracting information from the X509 certificate chain in
the fetcher the entire chain is propagated in Distinguished Encoding
Rules (DER) format.
This allows all the information contained in a certificate chain to be
retained which can subsequently be presented to the user
Diffstat (limited to 'include/netsurf/misc.h')
-rw-r--r-- | include/netsurf/misc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/netsurf/misc.h b/include/netsurf/misc.h index 8a7953192..cc0b78dbb 100644 --- a/include/netsurf/misc.h +++ b/include/netsurf/misc.h @@ -27,7 +27,7 @@ struct form_control; struct gui_window; -struct ssl_cert_info; +struct cert_chain; struct nsurl; /** @@ -81,8 +81,7 @@ struct gui_misc_table { * \return NSERROR_OK on sucess else error and cb never called */ nserror (*cert_verify)(struct nsurl *url, - const struct ssl_cert_info *certs, - unsigned long num, + const struct cert_chain *chain, nserror (*cb)(bool proceed, void *pw), void *cbpw); |