We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb5291a commit b6b58a9Copy full SHA for b6b58a9
1 file changed
linuxkm/lkcapi_glue.c
@@ -385,7 +385,7 @@ static int linuxkm_lkcapi_register(void)
385
if (! alg ## _loaded) { \
386
ret = (crypto_register_ ## alg_class)(&(alg)); \
387
if (ret) { \
388
- if (fips_enabled && (ret == NOT_COMPILED_IN)) { \
+ if (fips_enabled && (ret == WC_NO_ERR_TRACE(NOT_COMPILED_IN))) { \
389
pr_info("wolfCrypt: skipping FIPS-incompatible alg %s.\n", \
390
(alg).base.cra_driver_name); \
391
} \
@@ -399,7 +399,7 @@ static int linuxkm_lkcapi_register(void)
399
} else { \
400
ret = (tester()); \
401
402
403
404
405
0 commit comments