summaryrefslogtreecommitdiffstats
path: root/src/fuzzing/keyring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzing/keyring.c')
-rw-r--r--src/fuzzing/keyring.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/fuzzing/keyring.c b/src/fuzzing/keyring.c
index bac4e13..ad16cd0 100644
--- a/src/fuzzing/keyring.c
+++ b/src/fuzzing/keyring.c
@@ -35,15 +35,14 @@ 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);
+ (void) rnp_input_from_memory(&input, data, size, false);
- ret = rnp_ffi_create(&ffi, "GPG", "GPG");
- ret =
- rnp_load_keys(ffi, "GPG", input, RNP_LOAD_SAVE_PUBLIC_KEYS | RNP_LOAD_SAVE_SECRET_KEYS);
+ (void) rnp_ffi_create(&ffi, "GPG", "GPG");
+ (void) rnp_load_keys(
+ ffi, "GPG", input, RNP_LOAD_SAVE_PUBLIC_KEYS | RNP_LOAD_SAVE_SECRET_KEYS);
rnp_input_destroy(input);
rnp_ffi_destroy(ffi);