]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
certificate: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Mon, 1 May 2023 08:37:01 +0000 (10:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 12:06:43 +0000 (14:06 +0200)
src/libstrongswan/credentials/certificates/certificate.c

index f926afca606416264e84e0b5e0e9fe0f60e06c72..91bc0f509c7bde0331e26ddc424dad521293ef27 100644 (file)
@@ -48,7 +48,7 @@ ENUM(cert_validation_names, VALIDATION_GOOD, VALIDATION_REVOKED,
 bool certificate_is_newer(certificate_t *this, certificate_t *other)
 {
        time_t this_update, that_update;
-       char *type = "certificate";
+       char *type DBG_UNUSED = "certificate";
        bool newer;
 
        if (this->get_type(this) == CERT_X509_CRL)