mbed TLS upgraded to 2.6.0

Fork of mbedtls by Mark Radbourne

Revision:
1:9ebc941037d5
Parent:
0:cdf462088d13
Child:
2:bbdeda018a3c
--- a/library/x509_csr.c	Thu Jan 05 00:18:44 2017 +0000
+++ b/library/x509_csr.c	Fri Sep 29 18:41:59 2017 +0100
@@ -265,8 +265,8 @@
  */
 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen )
 {
+#if defined(MBEDTLS_PEM_PARSE_C)
     int ret;
-#if defined(MBEDTLS_PEM_PARSE_C)
     size_t use_len;
     mbedtls_pem_context pem;
 #endif