case ISAKMP_CERT_X509SIGN:
case ISAKMP_CERT_KERBEROS:
case ISAKMP_CERT_SPKI:
+ if (iph1->cr_p) {
+ oakley_delcert(iph1->cr_p);
+ iph1->cr_p = NULL;
+ }
c = &iph1->cr_p;
break;
case ISAKMP_CERT_X509KE:
VPTRINIT(cert->pl);
racoon_free(cert);
}
-
+
/*
* compute IV and set to ph1handle
* IV = hash(g^xi | g^xr)