add --enable-asn, build, and checks for rsa / psk w/o asn

This commit is contained in:
toddouska
2013-03-12 12:48:41 -07:00
parent 86f7d48c7e
commit 9a1b32d830
4 changed files with 63 additions and 16 deletions

View File

@@ -21,7 +21,6 @@ src_libcyassl_la_CPPFLAGS = -DBUILDING_CYASSL $(AM_CPPFLAGS)
if !BUILD_LEANPSK
src_libcyassl_la_SOURCES += ctaocrypt/src/coding.c \
ctaocrypt/src/asn.c \
ctaocrypt/src/dh.c \
ctaocrypt/src/memory.c
endif
@@ -30,6 +29,10 @@ if BUILD_RSA
src_libcyassl_la_SOURCES += ctaocrypt/src/rsa.c
endif
if BUILD_ASN
src_libcyassl_la_SOURCES += ctaocrypt/src/asn.c
endif
if BUILD_AES
src_libcyassl_la_SOURCES += ctaocrypt/src/aes.c
endif