Fix a bug to allow the 4758 ENGINE to build as a DSO.
authorGeoff Thorpe <geoff@openssl.org>
Wed, 28 Aug 2002 19:11:08 +0000 (19:11 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Wed, 28 Aug 2002 19:11:08 +0000 (19:11 +0000)
crypto/engine/hw_4758_cca.c

index 1053c520828633c46d9dcd6c30618541b834ce31..bfb80968e2efbe52b95e33f1f2dcac5396690c78 100644 (file)
@@ -953,7 +953,7 @@ static void cca_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int idx,
 #ifdef ENGINE_DYNAMIC_SUPPORT 
 static int bind_fn(ENGINE *e, const char *id)
        {
 #ifdef ENGINE_DYNAMIC_SUPPORT 
 static int bind_fn(ENGINE *e, const char *id)
        {
-       if(id && (strcmp(id, engine_cswift_id) != 0))
+       if(id && (strcmp(id, engine_4758_cca_id) != 0))
                return 0;
        if(!bind_helper(e))
                return 0;
                return 0;
        if(!bind_helper(e))
                return 0;