This hooks the "hwcrhk" engine Richard just submitted into the default

engine list if HW_NCIPHER is defined. I want to play :-)
This commit is contained in:
Geoff Thorpe 2000-06-13 18:11:38 +00:00
parent 86787f93d6
commit 87f3435f78
2 changed files with 8 additions and 0 deletions

View 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

View 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;