#include <stdio.h>
#include <string.h>
-#include <openssl/engine.h>
+#include <internal/engine.h>
#include <openssl/rand.h>
#include <openssl/err.h>
+#include <openssl/crypto.h>
#if (defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
defined(__x86_64) || defined(__x86_64__) || \
static ENGINE *ENGINE_rdrand(void)
{
ENGINE *ret = ENGINE_new();
- if (!ret)
+ if (ret == NULL)
return NULL;
if (!bind_helper(ret)) {
ENGINE_free(ret);
return ret;
}
-void ENGINE_load_rdrand(void)
+void engine_load_rdrand_internal(void)
{
extern unsigned int OPENSSL_ia32cap_P[];
}
}
#else
-void ENGINE_load_rdrand(void)
+void engine_load_rdrand_internal(void)
{
}
#endif