From 98f45250734fc7a2826753a143d7c37fc522f604 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 10 Aug 2019 12:50:23 +0100 Subject: add common name ssl certificate error This adds an ssl faliure code and explanation why curl fetcher does not currently set it. --- include/netsurf/ssl_certs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/netsurf') diff --git a/include/netsurf/ssl_certs.h b/include/netsurf/ssl_certs.h index a73dc604c..c77c2996d 100644 --- a/include/netsurf/ssl_certs.h +++ b/include/netsurf/ssl_certs.h @@ -38,6 +38,7 @@ typedef enum { SSL_CERT_ERR_SELF_SIGNED, /**< This certificate (or the chain) is self signed */ SSL_CERT_ERR_CHAIN_SELF_SIGNED, /**< This certificate chain is self signed */ SSL_CERT_ERR_REVOKED, /**< This certificate has been revoked */ + SSL_CERT_ERR_COMMON_NAME, /**< This certificate host did not match teh server */ } ssl_cert_err; /** -- cgit v1.2.3