]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
keymat_v1: Fix build with DEBUG_LEVEL < 3
authorTobias Brunner <tobias@strongswan.org>
Mon, 1 May 2023 10:05:02 +0000 (12:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:17 +0000 (17:32 +0200)
src/libcharon/sa/ikev1/keymat_v1.c

index 64de3d95d608998628bce1fac4bc2c9355270770..3142270d7c14ec5e15db1ab5bc2876736828067f 100644 (file)
@@ -799,7 +799,7 @@ METHOD(keymat_v1_t, get_hash_phase2, bool,
        uint32_t mid, mid_n;
        chunk_t data = chunk_empty, *n_i, *n_r;
        bool add_message = TRUE;
-       char *name = "Hash";
+       char *name DBG_UNUSED = "Hash";
 
        if (!this->prf)
        {       /* no keys derived yet */