]> git.ipfire.org Git - pakfire.git/commitdiff
tests: key: Remove unused variables
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Feb 2025 15:53:39 +0000 (15:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Feb 2025 15:53:39 +0000 (15:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/key.c

index 3a2fa7f34c3e02a3b955b722ddbbc37847d838eb..32d626a4bcf76f3ac2bf6cc900ae2555a6d1a18d 100644 (file)
@@ -59,10 +59,7 @@ FAIL:
 static int test_sign_and_verify(const struct test* t) {
        struct pakfire_key* key = NULL;
        int r = EXIT_FAILURE;
-
        FILE* f = NULL;
-       char* signature = NULL;
-       size_t signature_length = 0;
 
        // Create a file handle to write the signature to
        ASSERT(f = test_mktemp(NULL));