Depend on PEM_PARsE_C when using test_cas_pem
diff --git a/programs/ssl/ssl_client1.c b/programs/ssl/ssl_client1.c
index 0dc16e6..f5d732e 100644
--- a/programs/ssl/ssl_client1.c
+++ b/programs/ssl/ssl_client1.c
@@ -119,12 +119,12 @@
     polarssl_printf( "  . Loading the CA root certificate ..." );
     fflush( stdout );
 
-#if defined(POLARSSL_CERTS_C)
+#if defined(POLARSSL_CERTS_C) && defined(POLARSSL_PEM_PARSE_C)
     ret = x509_crt_parse( &cacert, (const unsigned char *) test_cas_pem,
                           test_cas_pem_len );
 #else
     ret = 1;
-    polarssl_printf("POLARSSL_CERTS_C not defined.");
+    polarssl_printf("POLARSSL_CERTS_C or POLARSSL_PEM_PARSE_C not defined.");
 #endif
 
     if( ret < 0 )