Some more tweaks to ENGINE code.
[openssl.git] / crypto / engine / hw_cswift.c
index 2ee9040ca06372cb5e6397901e833b384f9c2bdf..4066d1d164011e9fb75526dd577cf34194e45b5f 100644 (file)
@@ -84,8 +84,8 @@
 #include "vendor_defns/cswift.h"
 #endif
 
-static int cswift_init(void);
-static int cswift_finish(void);
+static int cswift_init(ENGINE *);
+static int cswift_finish(ENGINE *);
 
 /* BIGNUM stuff */
 static int cswift_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
@@ -251,7 +251,7 @@ static void release_context(SW_CONTEXT_HANDLE hac)
        }
 
 /* (de)initialisation functions. */
-static int cswift_init(void)
+static int cswift_init(ENGINE *e)
        {
         SW_CONTEXT_HANDLE hac;
         t_swAcquireAccContext *p1;
@@ -308,7 +308,7 @@ err:
        return 0;
        }
 
-static int cswift_finish(void)
+static int cswift_finish(ENGINE *e)
        {
        if(cswift_dso == NULL)
                {