Fix some ifdef's in x509parse
While at it:
- move _rsa variants systematically after generic functions
- unsplit x509parse_key_pkcs8_encrypted_der() (reverts a5d9974)
diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index 47b5ab8..3315535 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -416,6 +416,7 @@
*/
int x509parse_crlfile( x509_crl *chain, const char *path );
+#if defined(POLARSSL_RSA_C)
/** \ingroup x509_module */
/**
* \brief Parse a private RSA key
@@ -468,6 +469,7 @@
* \return 0 if successful, or a specific X509 or PEM error code
*/
int x509parse_public_keyfile_rsa( rsa_context *rsa, const char *path );
+#endif /* POLARSSL_RSA_C */
/** \ingroup x509_module */
/**