Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859
...commit
http://git.netsurf-browser.org/netsurf.git/commit/754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859
...tree
http://git.netsurf-browser.org/netsurf.git/tree/754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859
The branch, master has been updated
via 754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859 (commit)
via bb5d5562bcbea50056af7ec6f34319b066276a88 (commit)
via 18dd34babfefda92de1e9d82974d605618dc3c9b (commit)
from 82559d2ff44ba8e0586621740d0d1ac9a61335d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859
commit 754e3f4f8c561a2a5c8eaf8901ec0544b7aaa859
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
curl: Pass cert chain on even if we get no headers
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index 525c158..f7b3b04 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -1310,6 +1310,10 @@ static void fetch_curl_done(CURL *curl_handle, CURLcode
result)
fetch_curl_stop(f);
+ if (f->sent_ssl_chain == false) {
+ fetch_curl_report_certs_upstream(f);
+ }
+
if (abort_fetch) {
; /* fetch was aborted: no callback */
} else if (finished) {
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=bb5d5562bcbea50056af7ec6f34319b066276a88
commit bb5d5562bcbea50056af7ec6f34319b066276a88
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
llcache: Actually pass on certificate chain properly
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/llcache.c b/content/llcache.c
index 2eb471d..0d92a99 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -3081,12 +3081,17 @@ static void llcache_fetch_callback(const fetch_msg
*msg, void *p)
/* Persist the chain onto our object */
error = cert_chain_dup(msg->data.chain, &object->chain);
if (error != NSERROR_OK) {
- /* Now pass on the event */
- event.type = LLCACHE_EVENT_GOT_CERTS;
- event.data.chain = msg->data.chain;
-
- error = llcache_send_event_to_users(object, &event);
+ NSLOG(llcache, ERROR,
+ "Unable to duplicate cert chain into cache: %s",
+ messages_get_errorcode(error));
}
+
+ /* Now pass on the event */
+ event.type = LLCACHE_EVENT_GOT_CERTS;
+ event.data.chain = msg->data.chain;
+
+ error = llcache_send_event_to_users(object, &event);
+
break;
/* Events requiring action */
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=18dd34babfefda92de1e9d82974d605618dc3c9b
commit 18dd34babfefda92de1e9d82974d605618dc3c9b
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
FatMessages: Fix typo, occour -> occur, occoured -> occurred
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/resources/FatMessages b/resources/FatMessages
index 5b8a996..671ba28 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -1091,9 +1091,9 @@ nl.all.Backtosafety:Terug naar veiligheid
en.all.SSLCertErrOk:The certificate has no errors.
it.all.SSLCertErrOk:Il certificato non contiene errori.
-en.all.SSLCertErrUnknown:An unknown error occoured while processing the
certificate.
+en.all.SSLCertErrUnknown:An unknown error occurred while processing the
certificate.
it.all.SSLCertErrUnknown:Si è verificato un problema sconosciuto durante
l'elaborazione del certificato.
-en.all.SSLCertErrBadIssuer:The issuer of this certificate is not known. This
may occour if the browser cannot access the certificate authority (CA) bundle.
+en.all.SSLCertErrBadIssuer:The issuer of this certificate is not known. This
may occur if the browser cannot access the certificate authority (CA) bundle.
it.all.SSLCertErrBadIssuer:L'emittente di questo certificato è sconosciuto.
Questo può verificarsi se il browser non è in grado di accedere al pacchetto
dell'autorità di certificazione (CA).
en.all.SSLCertErrBadSig:The certificate is improperly signed.
it.all.SSLCertErrBadSig:Il certificato non è stato firmato correttamente.
-----------------------------------------------------------------------
Summary of changes:
content/fetchers/curl.c | 4 ++++
content/llcache.c | 15 ++++++++++-----
resources/FatMessages | 4 ++--
3 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index 525c158..f7b3b04 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -1310,6 +1310,10 @@ static void fetch_curl_done(CURL *curl_handle, CURLcode
result)
fetch_curl_stop(f);
+ if (f->sent_ssl_chain == false) {
+ fetch_curl_report_certs_upstream(f);
+ }
+
if (abort_fetch) {
; /* fetch was aborted: no callback */
} else if (finished) {
diff --git a/content/llcache.c b/content/llcache.c
index 2eb471d..0d92a99 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -3081,12 +3081,17 @@ static void llcache_fetch_callback(const fetch_msg
*msg, void *p)
/* Persist the chain onto our object */
error = cert_chain_dup(msg->data.chain, &object->chain);
if (error != NSERROR_OK) {
- /* Now pass on the event */
- event.type = LLCACHE_EVENT_GOT_CERTS;
- event.data.chain = msg->data.chain;
-
- error = llcache_send_event_to_users(object, &event);
+ NSLOG(llcache, ERROR,
+ "Unable to duplicate cert chain into cache: %s",
+ messages_get_errorcode(error));
}
+
+ /* Now pass on the event */
+ event.type = LLCACHE_EVENT_GOT_CERTS;
+ event.data.chain = msg->data.chain;
+
+ error = llcache_send_event_to_users(object, &event);
+
break;
/* Events requiring action */
diff --git a/resources/FatMessages b/resources/FatMessages
index 5b8a996..671ba28 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -1091,9 +1091,9 @@ nl.all.Backtosafety:Terug naar veiligheid
en.all.SSLCertErrOk:The certificate has no errors.
it.all.SSLCertErrOk:Il certificato non contiene errori.
-en.all.SSLCertErrUnknown:An unknown error occoured while processing the
certificate.
+en.all.SSLCertErrUnknown:An unknown error occurred while processing the
certificate.
it.all.SSLCertErrUnknown:Si è verificato un problema sconosciuto durante
l'elaborazione del certificato.
-en.all.SSLCertErrBadIssuer:The issuer of this certificate is not known. This
may occour if the browser cannot access the certificate authority (CA) bundle.
+en.all.SSLCertErrBadIssuer:The issuer of this certificate is not known. This
may occur if the browser cannot access the certificate authority (CA) bundle.
it.all.SSLCertErrBadIssuer:L'emittente di questo certificato è sconosciuto.
Questo può verificarsi se il browser non è in grado di accedere al pacchetto
dell'autorità di certificazione (CA).
en.all.SSLCertErrBadSig:The certificate is improperly signed.
it.all.SSLCertErrBadSig:Il certificato non è stato firmato correttamente.
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]