URL:
https://github.com/SSSD/sssd/pull/5852
Title: #5852: ifp: new interface to validate a certificate
pbrezina commented:
"""
```
/home/pbrezina/workspace/sssd/src/responder/ifp/ifp_users.c: In function
‘p11_child_exec’:
/home/pbrezina/workspace/sssd/src/responder/ifp/ifp_users.c:1216:57: error: passing
argument 3 of ‘child_handler_setup’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
1216 | ret = child_handler_setup(state->ev, child_pid,
ifp_users_find_by_valid_cert_done,
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| struct tevent_req *
(*)(int, struct tevent_signal *, void *)
In file included from /home/pbrezina/workspace/sssd/src/responder/ifp/ifp_users.c:29:
/home/pbrezina/workspace/sssd/src/util/child_common.h:86:46: note: expected
‘sss_child_callback_t’ {aka ‘void (*)(int, struct tevent_signal *, void *)’} but argument
is of type ‘struct tevent_req * (*)(int, struct tevent_signal *, void *)’
86 | sss_child_callback_t cb, void *pvt,
| ~~~~~~~~~~~~~~~~~~~~~^~
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5852#issuecomment-961791713