Add missing XAuthRespPSK switch case to IKEv1 key derivation
This commit is contained in:
@@ -431,6 +431,7 @@ METHOD(keymat_v1_t, derive_ike_keys, bool,
|
|||||||
{
|
{
|
||||||
case AUTH_PSK:
|
case AUTH_PSK:
|
||||||
case AUTH_XAUTH_INIT_PSK:
|
case AUTH_XAUTH_INIT_PSK:
|
||||||
|
case AUTH_XAUTH_RESP_PSK:
|
||||||
{ /* SKEYID = prf(pre-shared-key, Ni_b | Nr_b) */
|
{ /* SKEYID = prf(pre-shared-key, Ni_b | Nr_b) */
|
||||||
chunk_t psk;
|
chunk_t psk;
|
||||||
if (!shared_key)
|
if (!shared_key)
|
||||||
|
|||||||
Reference in New Issue
Block a user