}
} else {
filename = uclient_get_url_filename(path, "index.html");
+ if (!filename) {
+ ret = -ENOMEM;
+ goto out;
+ }
+
output_file = filename;
}
free:
free(filename);
+out:
return ret;
}
{
fprintf(stderr,
"%s: SSL support not available, please install one of the "
- "libustream-ssl-* libraries as well as the ca-bundle and "
+ "libustream-.*[ssl|tls] packages as well as the ca-bundle and "
"ca-certificates packages.\n",
progname);