]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
gmp: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2025 10:36:32 +0000 (11:36 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2025 10:36:32 +0000 (11:36 +0100)
src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c

index 47784b61baf3aa5e2efdc7b15cadf916a0aa608b..63e8f54cddcb4d11585d195769cf8de019004260 100644 (file)
@@ -157,7 +157,7 @@ static void mpz_clear_sensitive(mpz_t z)
 static status_t compute_prime(drbg_t *drbg, size_t prime_size, bool safe, mpz_t *p, mpz_t *q)
 {
        chunk_t random_bytes;
-       int count = 0;
+       int count DBG_UNUSED = 0;
 
        mpz_init(*p);
        mpz_init(*q);