From d32e8acf087723e956bf6ca2ed42dbb14382e172 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Tue, 20 Jun 2000 13:59:48 +0000 Subject: [PATCH] Now that the branch has been updated with the DSO changes in the head, correct the DSO-dependant code in the engine code. --- crypto/engine/hw_atalla.c | 6 +++--- crypto/engine/hw_cswift.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crypto/engine/hw_atalla.c b/crypto/engine/hw_atalla.c index b0edf74a16..3e1beedb07 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 e85dee1511..bf2f0b694f 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; -- 2.25.1