summaryrefslogtreecommitdiffstats
path: root/src/fuzzing/sigimport.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:07 +0000
commitb842d8449361bc56b30d781084fa829824607082 (patch)
tree772be8bd6ac3d7c5bc2709b6c5859c5aff7ed4b2 /src/fuzzing/sigimport.c
parentAdding debian version 0.17.0-3. (diff)
downloadrnp-b842d8449361bc56b30d781084fa829824607082.tar.xz
rnp-b842d8449361bc56b30d781084fa829824607082.zip
Merging upstream version 0.17.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fuzzing/sigimport.c')
-rw-r--r--src/fuzzing/sigimport.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/fuzzing/sigimport.c b/src/fuzzing/sigimport.c
index 35adeb7..89bd01a 100644
--- a/src/fuzzing/sigimport.c
+++ b/src/fuzzing/sigimport.c
@@ -35,14 +35,13 @@ int
LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
#endif
{
- rnp_input_t input = NULL;
- rnp_result_t ret = 0;
- rnp_ffi_t ffi = NULL;
+ rnp_input_t input = NULL;
+ rnp_ffi_t ffi = NULL;
- ret = rnp_input_from_memory(&input, data, size, false);
- ret = rnp_ffi_create(&ffi, "GPG", "GPG");
+ (void) rnp_input_from_memory(&input, data, size, false);
+ (void) rnp_ffi_create(&ffi, "GPG", "GPG");
char *results = NULL;
- ret = rnp_import_signatures(ffi, input, 0, &results);
+ (void) rnp_import_signatures(ffi, input, 0, &results);
rnp_buffer_destroy(results);
rnp_input_destroy(input);
rnp_ffi_destroy(ffi);