linux port: update Makefile
* Add new mbedTLS sources that handle writing of X.509 certificates
and CSRs.
* Add the oc_csr module to the list of sources in the security layer.
@@ -60,7 +60,8 @@ DTLS= aes.c aesni.c arc4.c asn1parse.c asn1write.c base64.c \
sha512.c threading.c timing.c version.c version_features.c \
xtea.c pkcs11.c x509.c x509_crt.c debug.c net_sockets.c \
ssl_cache.c ssl_ciphersuites.c ssl_cli.c ssl_cookie.c \
- ssl_srv.c ssl_ticket.c ssl_tls.c rsa_internal.c
+ ssl_srv.c ssl_ticket.c ssl_tls.c rsa_internal.c x509write_csr.c\
+ x509write_crt.c x509_create.c
DTLSFLAGS=-I../../deps/mbedtls/include -D__OC_RANDOM
CBOR=../../deps/tinycbor/src/cborencoder.c ../../deps/tinycbor/src/cborencoder_close_container_checked.c ../../deps/tinycbor/src/cborparser.c# ../../deps/tinycbor/src/cbortojson.c ../../deps/tinycbor/src/cborpretty.c ../../deps/tinycbor/src/cborparser_dup_string.c
@@ -109,7 +110,7 @@ ifeq ($(DYNAMIC),1)
endif
ifneq ($(SECURE),0)
- SRC += $(addprefix ../../security/,oc_acl.c oc_cred.c oc_doxm.c oc_pstat.c oc_tls.c oc_svr.c oc_store.c oc_pki.c oc_certs.c oc_sp.c oc_keypair.c)
+ SRC += $(addprefix ../../security/,oc_acl.c oc_cred.c oc_doxm.c oc_pstat.c oc_tls.c oc_svr.c oc_store.c oc_pki.c oc_certs.c oc_sp.c oc_keypair.c oc_csr.c)
SRC_COMMON += $(addprefix $(MBEDTLS_DIR)/library/,${DTLS})
MBEDTLS_PATCH_FILE := $(MBEDTLS_DIR)/patched.txt
ifeq ($(DYNAMIC),1)
