add support for PKCS8 decryption to OPENSSL_EXTRA_X509_SMALL build

This commit is contained in:
Jacob Barthelmeh
2018-03-20 15:06:35 -06:00
parent bba0a3e88c
commit df6ea54cd5
5 changed files with 177 additions and 83 deletions

View File

@@ -347,8 +347,9 @@ int Base64_Encode_NoNl(const byte* in, word32 inLen, byte* out, word32* outLen)
#endif /* defined(WOLFSSL_BASE64_ENCODE) */
#if defined(OPENSSL_EXTRA) || defined(HAVE_WEBSERVER) || defined(HAVE_FIPS) \
|| defined(HAVE_ECC_CDH) || defined(HAVE_SELFTEST)
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL) || \
defined(HAVE_WEBSERVER) || defined(HAVE_FIPS) || \
defined(HAVE_ECC_CDH) || defined(HAVE_SELFTEST)
static
const byte hexDecode[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,