fix: add missing package verification to download operation
This commit is contained in:
@ -78,6 +78,9 @@ bool lm_ctx_download(lm_ctx_t *ctx, lm_pkg_t *pkg, lm_ctx_download_callback_t ca
|
||||
if(!lm_mptp_recvfile(sock, pkg->paths.signature, __lm_ctx_download_callback, &cbdata))
|
||||
goto end;
|
||||
|
||||
if(!lm_package_verify(pkg))
|
||||
goto end;
|
||||
|
||||
ret = true;
|
||||
end:
|
||||
lm_mptp_close(sock);
|
||||
|
Reference in New Issue
Block a user