diff options
Diffstat (limited to 'demos/engines/ibmca/hw_ibmca.c')
-rw-r--r-- | demos/engines/ibmca/hw_ibmca.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/engines/ibmca/hw_ibmca.c b/demos/engines/ibmca/hw_ibmca.c index 5017d6490d..29f8547698 100644 --- a/demos/engines/ibmca/hw_ibmca.c +++ b/demos/engines/ibmca/hw_ibmca.c @@ -388,11 +388,11 @@ static int ibmca_init(ENGINE *e) goto err; } - if (!(p1 = DSO_bind_func(ibmca_dso, IBMCA_F1)) || - !(p2 = DSO_bind_func(ibmca_dso, IBMCA_F2)) || - !(p3 = DSO_bind_func(ibmca_dso, IBMCA_F3)) || - !(p4 = DSO_bind_func(ibmca_dso, IBMCA_F4)) || - !(p5 = DSO_bind_func(ibmca_dso, IBMCA_F5))) { + if ((p1 = DSO_bind_func(ibmca_dso, IBMCA_F1)) == NULL + || (p2 = DSO_bind_func(ibmca_dso, IBMCA_F2)) == NULL + || (p3 = DSO_bind_func(ibmca_dso, IBMCA_F3)) == NULL + || (p4 = DSO_bind_func(ibmca_dso, IBMCA_F4)) == NULL + || (p5 = DSO_bind_func(ibmca_dso, IBMCA_F5)) == NULL) { IBMCAerr(IBMCA_F_IBMCA_INIT, IBMCA_R_DSO_FAILURE); goto err; } |