From ea142abdd090a46ba4589a4db784c49820bbbd69 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 30 Nov 2019 14:05:23 +0000 Subject: llcache: Reload SSL certificate data from serialised store Signed-off-by: Daniel Silverstone --- include/netsurf/ssl_certs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/netsurf') diff --git a/include/netsurf/ssl_certs.h b/include/netsurf/ssl_certs.h index 7e933b10c..dcd644ea3 100644 --- a/include/netsurf/ssl_certs.h +++ b/include/netsurf/ssl_certs.h @@ -27,6 +27,9 @@ /** * ssl certificate error status + * + * Do not reorder / remove entries because these may be persisted to the disk + * cache as simple ints. */ typedef enum { SSL_CERT_ERR_OK, /**< Nothing wrong with this certificate */ @@ -41,6 +44,9 @@ typedef enum { SSL_CERT_ERR_HOSTNAME_MISMATCH, /**< This certificate host did not match the server */ } ssl_cert_err; +/** Always the max known ssl certificate error type */ +#define SSL_CERT_ERR_MAX_KNOWN SSL_CERT_ERR_HOSTNAME_MISMATCH + /** * ssl certificate information for certificate error message */ -- cgit v1.2.3