]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod/libkmod-signature: remove ENABLE OPENSSL comments
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 15 Feb 2026 21:34:01 +0000 (21:34 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Wed, 22 Apr 2026 13:54:42 +0000 (08:54 -0500)
Having the guard repeated in the else/endif lines is generally a good
idea. Although in this case a) it has a typo (missing _) and b) no other
part of the code-base does it.

Just remove the instances for consistency sake.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/427
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
libkmod/libkmod-signature.c

index fbaf3c3be7df57c80676c56b2dd11e97f548e92a..ed8d166b16cdd0d4fbc92121a1f8850464043f1d 100644 (file)
@@ -276,7 +276,7 @@ err:
        return false;
 }
 
-#else /* ENABLE OPENSSL */
+#else
 
 static bool fill_pkcs7(const char *mem, off_t size, const struct module_signature *modsig,
                       size_t sig_len, struct kmod_signature_info *sig_info)
@@ -286,7 +286,7 @@ static bool fill_pkcs7(const char *mem, off_t size, const struct module_signatur
        return true;
 }
 
-#endif /* ENABLE OPENSSL */
+#endif
 
 #define SIG_MAGIC "~Module signature appended~\n"