diff --git a/.github/configs/os-check-linux.json b/.github/configs/os-check-linux.json index 9f88d442ed..74839527ba 100644 --- a/.github/configs/os-check-linux.json +++ b/.github/configs/os-check-linux.json @@ -336,5 +336,9 @@ {"name": "opensslextra-no-filesystem-no-bio", "minutes": 0.9, "configure": ["--enable-opensslextra", "--disable-filesystem", "CPPFLAGS=-DNO_BIO"]}, {"name": "no-examples-no-malloc", "minutes": 0.8, - "configure": ["--disable-examples", "CPPFLAGS=-DWOLFSSL_NO_MALLOC"]} + "configure": ["--disable-examples", "CPPFLAGS=-DWOLFSSL_NO_MALLOC"]}, +{"name": "cryptonly-no-asn-rsa", "minutes": 0.2, "check": false, + "comment": "RSA with ASN.1 disabled. Build only, since wolfcrypt test and benchmark do not support this combination.", + "configure": ["--enable-cryptonly", "--disable-asn", "--enable-lowresource", + "--disable-crypttests", "--disable-examples"]} ] diff --git a/wolfcrypt/src/signature.c b/wolfcrypt/src/signature.c index 797cfeffb9..8e1c10f052 100644 --- a/wolfcrypt/src/signature.c +++ b/wolfcrypt/src/signature.c @@ -203,7 +203,7 @@ int wc_SignatureVerifyHash( return ret; } -#if !defined(NO_RSA) && !defined(WOLFSSL_RSA_PUBLIC_ONLY) +#if !defined(NO_RSA) && !defined(NO_ASN) /* For WC_SIGNATURE_TYPE_RSA_W_ENC, we need to extract the actual size of * the ASN.1-encoded hash. */