This hooks the "hwcrhk" engine Richard just submitted into the default
authorGeoff Thorpe <geoff@openssl.org>
Tue, 13 Jun 2000 18:11:38 +0000 (18:11 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 13 Jun 2000 18:11:38 +0000 (18:11 +0000)
engine list if HW_NCIPHER is defined. I want to play :-)

crypto/engine/engine_int.h
crypto/engine/engine_list.c

index 94f9d30d8031381be3749cb02cc0c14a2c006ea8..cddf12f6e630fef443e7e5c59196a53fc35ad27a 100644 (file)
@@ -129,6 +129,10 @@ ENGINE *ENGINE_openssl();
 ENGINE *ENGINE_cswift();
 #endif /* HW_CSWIFT */
 
+#ifdef HW_NCIPHER
+ENGINE *ENGINE_hwcrhk();
+#endif /* HW_NCIPHER */
+
 #ifdef  __cplusplus
 }
 #endif
index 171540e1a6d309e012a1de8915edce9a7824d7d4..c91b43cb8331a4246eb698d8e58c1ddd6beb1af7 100644 (file)
@@ -188,6 +188,10 @@ static int engine_internal_check(void)
 #ifdef HW_CSWIFT
        if(!engine_list_add(ENGINE_cswift()))
                return 0;
+#endif /* HW_CSWIFT */
+#ifdef HW_NCIPHER
+       if(!engine_list_add(ENGINE_hwcrhk()))
+               return 0;
 #endif /* HW_CSWIFT */
        engine_list_flag = 1;
        return 1;