From 304019d28dc7dbe1e9726bf8d3d3efe99f32df78 Mon Sep 17 00:00:00 2001 From: Kareem Date: Wed, 11 Jun 2025 16:18:22 -0700 Subject: [PATCH] Fix inclusion guard around wc_RsaSSL_Verify. The current condition of !WOLFSSL_RSA_VERIFY_ONLY doesn't make sense, as the verify only case will want this function. Based on the original change and the context, it looks like this was a typo meant to be !WOLFSSL_RSA_VERIFY_INLINE. --- wolfcrypt/src/rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/rsa.c b/wolfcrypt/src/rsa.c index fa455cc36..ce3abf4f4 100644 --- a/wolfcrypt/src/rsa.c +++ b/wolfcrypt/src/rsa.c @@ -3871,7 +3871,7 @@ int wc_RsaSSL_VerifyInline(byte* in, word32 inLen, byte** out, RsaKey* key) } #endif -#ifndef WOLFSSL_RSA_VERIFY_ONLY +#ifndef WOLFSSL_RSA_VERIFY_INLINE int wc_RsaSSL_Verify(const byte* in, word32 inLen, byte* out, word32 outLen, RsaKey* key) {