x86_64 assembly pack: make Windows build more robust.
[openssl.git] / crypto / bn / bn_recp.c
index 20ee319fe51bc86154a6ec0b95c51d8c30d7b3b5..0145d0fa9b21d003f2d26ab0c6896cdc8a3ff5d5 100644 (file)
@@ -56,6 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
+#define OPENSSL_FIPSAPI
+
 #include <stdio.h>
 #include "cryptlib.h"
 #include "bn_lcl.h"
@@ -214,7 +216,7 @@ err:
  * we can do faster division if the remainder is not required.
  */
 /* r := 2^len / m */
-int BN_reciprocal(BIGNUM *r, const BIGNUM *m, size_t len, BN_CTX *ctx)
+int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx)
        {
        int ret= -1;
        BIGNUM *t;