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 /content/fetch.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 'content/fetch.h')
-rw-r--r-- | content/fetch.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/content/fetch.h b/content/fetch.h index 9a81ece95..9e80b2685 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -75,10 +75,7 @@ typedef struct fetch_msg { const char *realm; } auth; - struct { - const struct ssl_cert_info *certs; - size_t num_certs; - } certs; + const struct cert_chain *chain; } data; } fetch_msg; |