summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c
index 0290dd2a6..f7369c160 100644
--- a/render/html.c
+++ b/render/html.c
@@ -852,6 +852,14 @@ void html_convert_css_callback(content_msg msg, struct content *css,
break;
#endif
+#ifdef WITH_SSL
+ case CONTENT_MSG_SSL:
+ c->data.html.stylesheet_content[i] = 0;
+ c->active--;
+ content_add_error(c, "?", 0);
+ break;
+#endif
+
default:
assert(0);
}
@@ -1127,6 +1135,14 @@ void html_object_callback(content_msg msg, struct content *object,
break;
#endif
+#ifdef WITH_SSL
+ case CONTENT_MSG_SSL:
+ c->data.html.object[i].content = 0;
+ c->active--;
+ content_add_error(c, "?", 0);
+ break;
+#endif
+
case CONTENT_MSG_REFRESH:
if (object->type == CONTENT_HTML)
/* only for HTML objects */