Moved mpi_inv_mod() outside POLARSSL_GENPRIME
(cherry picked from commit d9374b05d67ca1abcfe0f6b289b6583b6257eee3)

Conflicts:
	ChangeLog
diff --git a/ChangeLog b/ChangeLog
index 1872991..587f686 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
    * Handle existence of OpenSSL Trust Extensions at end of X.509 DER blob
    * mpi_add_abs() now correctly handles adding short numbers to long numbers
      with carry rollover
+   * Moved mpi_inv_mod() outside POLARSSL_GENPRIME
 
 Security
    * Fixed potential memory zeroization on miscrafted RSA key (found by Eloi