Hide BN_CTX structure details.
[openssl.git] / crypto / engine / hw_nuron.c
index b6242de444907814725ed1f4ac049d58f8f66b2c..5199a81305afef45b869ee72172ea5c2b769f180 100644 (file)
 #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()
+static int nuron_init(void)
        {
        if(pvDSOHandle != NULL)
                {
@@ -98,7 +98,7 @@ static int nuron_init()
        return 1;
        }
 
-static int nuron_finish()
+static int nuron_finish(void)
        {
        if(pvDSOHandle == NULL)
                {
@@ -282,5 +282,5 @@ ENGINE *ENGINE_nuron()
        return &engine_nuron;
        }
 
-#endif /* !NO_HW_NURON */
-#endif /* !NO_HW */
+#endif /* !OPENSSL_NO_HW_NURON */
+#endif /* !OPENSSL_NO_HW */