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:
parent
86787f93d6
commit
87f3435f78
2 changed files with 8 additions and 0 deletions
|
@ -129,6 +129,10 @@ ENGINE *ENGINE_openssl();
|
||||||
ENGINE *ENGINE_cswift();
|
ENGINE *ENGINE_cswift();
|
||||||
#endif /* HW_CSWIFT */
|
#endif /* HW_CSWIFT */
|
||||||
|
|
||||||
|
#ifdef HW_NCIPHER
|
||||||
|
ENGINE *ENGINE_hwcrhk();
|
||||||
|
#endif /* HW_NCIPHER */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -188,6 +188,10 @@ static int engine_internal_check(void)
|
||||||
#ifdef HW_CSWIFT
|
#ifdef HW_CSWIFT
|
||||||
if(!engine_list_add(ENGINE_cswift()))
|
if(!engine_list_add(ENGINE_cswift()))
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif /* HW_CSWIFT */
|
||||||
|
#ifdef HW_NCIPHER
|
||||||
|
if(!engine_list_add(ENGINE_hwcrhk()))
|
||||||
|
return 0;
|
||||||
#endif /* HW_CSWIFT */
|
#endif /* HW_CSWIFT */
|
||||||
engine_list_flag = 1;
|
engine_list_flag = 1;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue