]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
drbg-ctr: Remove unused variable
authorTobias Brunner <tobias@strongswan.org>
Mon, 21 Oct 2019 08:32:42 +0000 (10:32 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 21 Oct 2019 08:32:59 +0000 (10:32 +0200)
src/libstrongswan/plugins/drbg/drbg_ctr.c

index 9ca92671df5913659dcb74a0237129286143a630..39801b6db689608d9f32be9092e7e66a0b619f86 100644 (file)
@@ -94,7 +94,6 @@ static bool encrypt_ctr(private_drbg_ctr_t *this, chunk_t out)
        chunk_t bl = chunk_alloca(this->value.len);
        chunk_t block;
        size_t delta, pos = 0;
-       int bit;
 
        /* Initialize IV to all zeroes for ECB mode */
        memset(iv.ptr, 0x00, iv.len);