Renamed x509parse_* functions to new form
e.g. x509parse_crtfile -> x509_crt_parse_file
diff --git a/include/polarssl/x509_csr.h b/include/polarssl/x509_csr.h
index 5b4b1ba..30ef7c5 100644
--- a/include/polarssl/x509_csr.h
+++ b/include/polarssl/x509_csr.h
@@ -88,7 +88,7 @@
*
* \return 0 if successful, or a specific X509 or PEM error code
*/
-int x509parse_csr( x509_csr *csr, const unsigned char *buf, size_t buflen );
+int x509_csr_parse( x509_csr *csr, const unsigned char *buf, size_t buflen );
#if defined(POLARSSL_FS_IO)
/**
@@ -99,7 +99,7 @@
*
* \return 0 if successful, or a specific X509 or PEM error code
*/
-int x509parse_csrfile( x509_csr *csr, const char *path );
+int x509_csr_parse_file( x509_csr *csr, const char *path );
#endif /* POLARSSL_FS_IO */
/**
@@ -114,8 +114,8 @@
* \return The amount of data written to the buffer, or -1 in
* case of an error.
*/
-int x509parse_csr_info( char *buf, size_t size, const char *prefix,
- const x509_csr *csr );
+int x509_csr_info( char *buf, size_t size, const char *prefix,
+ const x509_csr *csr );
/**
* \brief Initialize a CSR