Move the REF_PRINT support from e_os.h to internal/refcount.h.
[openssl.git] / crypto / rsa / rsa_lib.c
index d5ecd26ce6d5f9657f711c280115db8b78458f9d..45ec81337663538cfb287521f2adb9babb81b6c3 100644 (file)
@@ -10,6 +10,7 @@
 #include <stdio.h>
 #include <openssl/crypto.h>
 #include "internal/cryptlib.h"
+#include "internal/refcount.h"
 #include <openssl/lhash.h>
 #include "internal/bn_int.h"
 #include <openssl/engine.h>
@@ -73,8 +74,9 @@ RSA *RSA_new_method(ENGINE *engine)
             goto err;
         }
         ret->engine = engine;
-    } else
+    } else {
         ret->engine = ENGINE_get_default_RSA();
+    }
     if (ret->engine) {
         ret->meth = ENGINE_get_RSA(ret->engine);
         if (ret->meth == NULL) {