- x509_write_cert_req() now supports all available hash functions

diff --git a/include/polarssl/x509write.h b/include/polarssl/x509write.h
index c24f3e1..8ce3d86 100644
--- a/include/polarssl/x509write.h
+++ b/include/polarssl/x509write.h
@@ -41,6 +41,6 @@
 int x509_write_pubkey_der( unsigned char *buf, size_t size, rsa_context *rsa );
 int x509_write_key_der( unsigned char *buf, size_t size, rsa_context *rsa );
 int x509_write_cert_req( unsigned char *buf, size_t size, rsa_context *rsa,
-                         x509_req_name *req_name );
+                         x509_req_name *req_name, int hash_id );
 
 #endif /* POLARSSL_X509_WRITE_H */