#include <openssl/engine.h>
-#ifndef NO_HW
-#ifndef NO_HW_NURON
+#ifndef OPENSSL_NO_HW
+#ifndef OPENSSL_NO_HW_NURON
typedef int tfnModExp(BIGNUM *r,const BIGNUM *a,const BIGNUM *p,const BIGNUM *m);
static tfnModExp *pfnModExp = NULL;
static DSO *pvDSOHandle = NULL;
-static int nuron_init(void)
+static int nuron_init(ENGINE *e)
{
if(pvDSOHandle != NULL)
{
return 1;
}
-static int nuron_finish(void)
+static int nuron_finish(ENGINE *e)
{
if(pvDSOHandle == NULL)
{
return &engine_nuron;
}
-#endif /* !NO_HW_NURON */
-#endif /* !NO_HW */
+#endif /* !OPENSSL_NO_HW_NURON */
+#endif /* !OPENSSL_NO_HW */