/* Set up the transform */
st->new_transform->setkey(st->new_transform->st,st->sharedsecret,
- st->sharedsecretlen);
+ st->sharedsecretlen,st->setup_priority);
return True;
}
st->sharedsecret,st->sharedsecretlen);
/* Set up the transform */
st->new_transform->setkey(st->new_transform->st,st->sharedsecret,
- st->sharedsecretlen);
+ st->sharedsecretlen,st->setup_priority);
return True;
}
uint32_t msgtype=ntohl(get_uint32(buf->start+8));
if (msgtype!=LABEL_MSG0) dump_packet(st,buf,source,True);
switch (msgtype) {
- case 0: /* NAK */
+ case LABEL_NAK:
/* If the source is our current peer then initiate a key setup,
because our peer's forgotten the key */
if (get_uint32(buf->start+4)==st->current.remote_session_id) {