turn on OpenSSL public key type decodes unless explicitly turned off

This commit is contained in:
toddouska
2015-10-30 13:40:05 -07:00
parent e76f95465d
commit 5d2d249673

View File

@ -984,8 +984,9 @@ static char *fgets(char *buff, int sz, FILE *fp)
#endif
#endif
/* Certificate Request Extensions needs decode extras */
#ifdef WOLFSSL_CERT_EXT
/* Decode Public Key extras on by default, user can turn off with
* WOLFSSL_NO_DECODE_EXTRA */
#ifndef WOLFSSL_NO_DECODE_EXTRA
#ifndef RSA_DECODE_EXTRA
#define RSA_DECODE_EXTRA
#endif