Skip to content

Commit 304019d

Browse files
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.
1 parent e8c110d commit 304019d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/rsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3871,7 +3871,7 @@ int wc_RsaSSL_VerifyInline(byte* in, word32 inLen, byte** out, RsaKey* key)
38713871
}
38723872
#endif
38733873

3874-
#ifndef WOLFSSL_RSA_VERIFY_ONLY
3874+
#ifndef WOLFSSL_RSA_VERIFY_INLINE
38753875
int wc_RsaSSL_Verify(const byte* in, word32 inLen, byte* out, word32 outLen,
38763876
RsaKey* key)
38773877
{

0 commit comments

Comments
 (0)