basic: expose compression level argument in compress_blob functions

This commit is contained in:
Andrii Chubatiuk
2025-02-07 07:05:02 +02:00
parent aedef65e2b
commit 91d6f1ee53
6 changed files with 42 additions and 25 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
}
size_t csize;
r = compress_blob(alg, h->data, data_len, buf, size, &csize);
r = compress_blob(alg, h->data, data_len, buf, size, &csize, /* level = */ -1);
if (r < 0) {
log_error_errno(r, "Compression failed: %m");
return 0;