diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/llcache.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/llcache.c b/content/llcache.c index 33a9b98aa..e338c1f3c 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -2214,6 +2214,11 @@ static nserror llcache_fetch_auth(llcache_object *object, const char *realm) error = llcache->query_cb(&query, llcache->query_cb_pw, llcache_query_handle_response, object); + if (error != NSERROR_OK) { + /* do not continue if error querying user */ + error = llcache_query_handle_response(false, + object); + } } else { llcache_event event; @@ -2269,6 +2274,10 @@ static nserror llcache_fetch_cert_error(llcache_object *object, error = llcache->query_cb(&query, llcache->query_cb_pw, llcache_query_handle_response, object); + if (error != NSERROR_OK) { + /* do not continue if error querying user */ + error = llcache_query_handle_response(false, object); + } } else { llcache_event event; |