make sure to include wolfssl/options.h before checking them

pull/73/head
Levi Rak 2017-08-16 11:56:33 -06:00
parent 2ca156300a
commit 48a2a5afec
1 changed files with 4 additions and 1 deletions

View File

@ -19,10 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#if defined(WOLFSSL_KEY_GEN) && !defined(NO_ASN) #include <wolfssl/options.h>
#include "clu_include/clu_header_main.h" #include "clu_include/clu_header_main.h"
#include "clu_include/genkey/clu_genkey.h" #include "clu_include/genkey/clu_genkey.h"
#if defined(WOLFSSL_KEY_GEN) && !defined(NO_ASN)
#include "clu_include/x509/clu_cert.h" /* PER_FORM/DER_FORM */ #include "clu_include/x509/clu_cert.h" /* PER_FORM/DER_FORM */
#include <wolfssl/wolfcrypt/asn_public.h> /* wc_DerToPem */ #include <wolfssl/wolfcrypt/asn_public.h> /* wc_DerToPem */