RT992: RSA_check_key should have a callback arg
[openssl.git] / crypto / rsa / rsa_crpt.c
index 7750366613b4cacefc452ee9beb62dd58f7fc619..448265e2177e04214a7ce8d586a3e8b981ee7a38 100644 (file)
@@ -56,6 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
+#define OPENSSL_FIPSAPI
+
 #include <stdio.h>
 #include <openssl/crypto.h>
 #include "cryptlib.h"
@@ -63,9 +65,6 @@
 #include <openssl/bn.h>
 #include <openssl/rsa.h>
 #include <openssl/rand.h>
-#ifndef OPENSSL_NO_ENGINE
-#include <openssl/engine.h>
-#endif
 
 int RSA_size(const RSA *r)
        {