Define devId if RSA is enabled

This commit is contained in:
Carie Pointer
2018-05-23 20:17:11 -06:00
parent 4eeb9c8c56
commit 005a0d4dff

View File

@@ -249,7 +249,7 @@
#include <wolfssl/wolfcrypt/asn.h> #include <wolfssl/wolfcrypt/asn.h>
#endif #endif
#if defined(WOLFSSL_SHA3) || defined(HAVE_PKCS7) #if defined(WOLFSSL_SHA3) || defined(HAVE_PKCS7) || !defined(NO_RSA)
static int devId = INVALID_DEVID; static int devId = INVALID_DEVID;
#endif #endif
#ifndef NO_DSA #ifndef NO_DSA