linuxkm/lkcapi_sha_glue.c and .wolfssl_known_macro_extras: fixes from check-source-text.

This commit is contained in:
Daniel Pouzzner
2025-12-29 20:54:39 -06:00
parent 450b0b46c6
commit d504baaf3a
2 changed files with 2 additions and 1 deletions

View File

@@ -622,6 +622,7 @@ WC_LMS_FULL_HASH
WC_NO_ASYNC_SLEEP
WC_NO_RNG_SIMPLE
WC_NO_STATIC_ASSERT
WC_NO_VERBOSE_RNG
WC_PKCS11_FIND_WITH_ID_ONLY
WC_PROTECT_ENCRYPTED_MEM
WC_RNG_BLOCKING

View File

@@ -1025,7 +1025,7 @@ static int wc_linuxkm_drbg_init_tfm(struct crypto_tfm *tfm)
if (ret == 0)
break;
if (can_sleep) {
if (WC_CHECK_FOR_INTR_SIGNALS() == INTERRUPTED_E) {
if (WC_CHECK_FOR_INTR_SIGNALS() == WC_NO_ERR_TRACE(INTERRUPTED_E)) {
ret = -EINTR;
break;
}