diff --git a/crypto/engine/hw_atalla.c b/crypto/engine/hw_atalla.c index b0edf74a1..3e1beedb0 100644 --- a/crypto/engine/hw_atalla.c +++ b/crypto/engine/hw_atalla.c @@ -235,11 +235,11 @@ static int atalla_init() ENGINEerr(ENGINE_F_ATALLA_INIT,ENGINE_R_DSO_FAILURE); goto err; } - if(!(p1 = (tfnASI_GetHardwareConfig *)DSO_bind( + if(!(p1 = (tfnASI_GetHardwareConfig *)DSO_bind_func( atalla_dso, ATALLA_F1)) || - !(p2 = (tfnASI_RSAPrivateKeyOpFn *)DSO_bind( + !(p2 = (tfnASI_RSAPrivateKeyOpFn *)DSO_bind_func( atalla_dso, ATALLA_F2)) || - !(p3 = (tfnASI_GetPerformanceStatistics *)DSO_bind( + !(p3 = (tfnASI_GetPerformanceStatistics *)DSO_bind_func( atalla_dso, ATALLA_F3))) { ENGINEerr(ENGINE_F_ATALLA_INIT,ENGINE_R_DSO_FAILURE); diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c index e85dee151..bf2f0b694 100644 --- a/crypto/engine/hw_cswift.c +++ b/crypto/engine/hw_cswift.c @@ -264,13 +264,13 @@ static int cswift_init() goto err; } if(!(p1 = (t_swAcquireAccContext *) - DSO_bind(cswift_dso, CSWIFT_F1)) || + DSO_bind_func(cswift_dso, CSWIFT_F1)) || !(p2 = (t_swAttachKeyParam *) - DSO_bind(cswift_dso, CSWIFT_F2)) || + DSO_bind_func(cswift_dso, CSWIFT_F2)) || !(p3 = (t_swSimpleRequest *) - DSO_bind(cswift_dso, CSWIFT_F3)) || + DSO_bind_func(cswift_dso, CSWIFT_F3)) || !(p4 = (t_swReleaseAccContext *) - DSO_bind(cswift_dso, CSWIFT_F4))) + DSO_bind_func(cswift_dso, CSWIFT_F4))) { ENGINEerr(ENGINE_F_CSWIFT_INIT,ENGINE_R_DSO_FAILURE); goto err;