Print this page
8927 sadb_x_kmc_t's KM cookie should be 64-bits
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

*** 234,244 **** uint16_t ipp_espe_minbits; /* ESP encr: min keylen */ uint16_t ipp_espe_maxbits; /* ESP encr: max keylen */ uint16_t ipp_espa_minbits; /* ESP auth: min keylen */ uint16_t ipp_espa_maxbits; /* ESP auth: max keylen */ uint32_t ipp_km_proto; /* key mgmt protocol */ ! uint32_t ipp_km_cookie; /* key mgmt cookie */ uint32_t ipp_replay_depth; /* replay window */ /* XXX add lifetimes */ } ipsec_prot_t; #define IPSEC_MAX_KEYBITS (0xffff) --- 234,244 ---- uint16_t ipp_espe_minbits; /* ESP encr: min keylen */ uint16_t ipp_espe_maxbits; /* ESP encr: max keylen */ uint16_t ipp_espa_minbits; /* ESP auth: min keylen */ uint16_t ipp_espa_maxbits; /* ESP auth: max keylen */ uint32_t ipp_km_proto; /* key mgmt protocol */ ! uint64_t ipp_km_cookie; /* key mgmt cookie */ uint32_t ipp_replay_depth; /* replay window */ /* XXX add lifetimes */ } ipsec_prot_t; #define IPSEC_MAX_KEYBITS (0xffff)