Select public key auth method by checking what key we have

This commit is contained in:
Martin Willi
2012-03-20 17:31:39 +01:00
parent 83b152dd4f
commit 4c685e8850
2 changed files with 99 additions and 4 deletions
+3
View File
@@ -427,6 +427,9 @@ METHOD(keymat_v1_t, derive_ike_keys, bool,
break;
}
case AUTH_RSA:
case AUTH_ECDSA_256:
case AUTH_ECDSA_384:
case AUTH_ECDSA_521:
case AUTH_XAUTH_INIT_RSA:
case AUTH_XAUTH_RESP_RSA:
case AUTH_HYBRID_INIT_RSA: