- mpi_init() and mpi_free() only accept a single argument and do not accept variable arguments anymore. This prevents unexpected memory corruption in a number of use cases.
diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h
index a6d7d4a..3800967 100644
--- a/include/polarssl/bignum.h
+++ b/include/polarssl/bignum.h
@@ -92,14 +92,18 @@
#endif
/**
- * \brief Initialize one or more mpi
+ * \brief Initialize one MPI
+ *
+ * \param X One MPI to initialize.
*/
-void mpi_init( mpi *X, ... );
+void mpi_init( mpi *X );
/**
- * \brief Unallocate one or more mpi
+ * \brief Unallocate one MPI
+ *
+ * \param X One MPI to unallocate.
*/
-void mpi_free( mpi *X, ... );
+void mpi_free( mpi *X );
/**
* \brief Enlarge to the specified number of limbs