- Parsing of PEM files moved to separate module (Fixes ticket #13). Also possible to remove PEM support for systems only using DER encoding
- Parsing PEM private keys encrypted with DES and AES are now supported (Fixes ticket #5)
- Added tests for encrypted keyfiles
diff --git a/include/polarssl/config.h b/include/polarssl/config.h
index 1cf5b50..014bc14 100644
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -151,6 +151,7 @@
*
* Module: library/aes.c
* Caller: library/ssl_tls.c
+ * library/pem.c
*
* This module enables the following ciphersuites:
* SSL_RSA_AES_128_SHA
@@ -371,6 +372,18 @@
#define POLARSSL_PADLOCK_C
/**
+ * \def POLARSSL_PEM_C
+ *
+ * Enable PEM decoding
+ *
+ * Module: library/pem.c
+ * Caller: library/x509parse.c
+ *
+ * This modules adds support for decoding PEM files.
+ */
+#define POLARSSL_PEM_C
+
+/**
* \def POLARSSL_RSA_C
*
* Enable the RSA public-key cryptosystem.