mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi. libomapi now depends on libres, which contains the data signing routines.
This commit is contained in:
@@ -206,8 +206,9 @@ isc_result_t omapi_wait_for_completion (omapi_object_t *object,
|
||||
if (waiter -> inner)
|
||||
omapi_object_dereference (&waiter -> inner, MDL);
|
||||
|
||||
status = waiter -> waitstatus;
|
||||
omapi_waiter_dereference (&waiter, MDL);
|
||||
return ISC_R_SUCCESS;
|
||||
return status;;
|
||||
}
|
||||
|
||||
isc_result_t omapi_one_dispatch (omapi_object_t *wo,
|
||||
@@ -510,6 +511,14 @@ isc_result_t omapi_waiter_signal_handler (omapi_object_t *h,
|
||||
if (!strcmp (name, "ready")) {
|
||||
waiter = (omapi_waiter_object_t *)h;
|
||||
waiter -> ready = 1;
|
||||
waiter -> waitstatus = ISC_R_SUCCESS;
|
||||
return ISC_R_SUCCESS;
|
||||
}
|
||||
|
||||
if (!strcmp (name, "status")) {
|
||||
waiter = (omapi_waiter_object_t *)h;
|
||||
waiter -> ready = 1;
|
||||
waiter -> waitstatus = va_arg (ap, isc_result_t);
|
||||
return ISC_R_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user