From c8e618a817bfbb25d4e92e5143bd1ceb4e8562aa Mon Sep 17 00:00:00 2001 From: David Garske Date: Sun, 23 Feb 2020 15:58:28 -0800 Subject: [PATCH] Fix build for `WOLFSSL_RSA_VERIFY_ONLY`. --- 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 ad600c4f7..5ceddbbbb 100644 --- a/wolfcrypt/src/rsa.c +++ b/wolfcrypt/src/rsa.c @@ -3471,7 +3471,7 @@ int wc_RsaPSS_VerifyCheck(byte* in, word32 inLen, byte* out, word32 outLen, #endif -#ifndef WOLFSSL_RSA_PUBLIC_ONLY +#if !defined(WOLFSSL_RSA_PUBLIC_ONLY) && !defined(WOLFSSL_RSA_VERIFY_ONLY) int wc_RsaSSL_Sign(const byte* in, word32 inLen, byte* out, word32 outLen, RsaKey* key, WC_RNG* rng) {