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>
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)
return true;
}
-#endif /* ENABLE OPENSSL */
+#endif
#define SIG_MAGIC "~Module signature appended~\n"