Browse Source

Add constraint_reset() stub when libtls is not available

This prevents a linking error since ntp_dispatch_imsg calls
constraint_reset().
master
Michael Forney 4 years ago
parent
commit
acea10dbae
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/constraint-disabled.c

+ 5
- 0
src/constraint-disabled.c View File

@ -66,6 +66,11 @@ constraint_add(struct constraint *cstr)
free(cstr);
}
void
constraint_reset(void)
{
}
void
constraint_msg_dns(u_int32_t id, u_int8_t *data, size_t len)
{


Loading…
Cancel
Save