chiark / gitweb /
journal-upload: fix socket activation
[elogind.git] / src / journal-remote / journal-upload.c
index e16204484e2a40e436ead0e5fa15f46ef957395e..bf3a059c3b11ef8f794d7a1abc976fba5698438d 100644 (file)
@@ -220,8 +220,6 @@ int start_upload(Uploader *u,
                             LOG_WARNING, );
 
                 if (arg_key || startswith(u->url, "https://")) {
-                        assert(arg_cert);
-
                         easy_setopt(curl, CURLOPT_SSLKEY, arg_key ?: PRIV_KEY_FILE,
                                     LOG_ERR, return -EXFULL);
                         easy_setopt(curl, CURLOPT_SSLCERT, arg_cert ?: CERT_FILE,