pluto supports ECDSA authentication

This commit is contained in:
Andreas Steffen
2009-06-12 19:59:49 +02:00
parent eca36f44de
commit 11e6d28533
25 changed files with 310 additions and 234 deletions
+4 -4
View File
@@ -258,8 +258,8 @@ const chunk_t* get_preshared_secret(const struct connection *c)
return s == NULL? NULL : &s->u.preshared_secret;
}
/* check the existence of an RSA private key matching an RSA public
* key contained in an X.509 or OpenPGP certificate
/* check the existence of a private key matching a public key contained
* in an X.509 or OpenPGP certificate
*/
bool has_private_key(cert_t cert)
{
@@ -280,7 +280,7 @@ bool has_private_key(cert_t cert)
}
/*
* get the matching RSA private key belonging to a given X.509 certificate
* get the matching private key belonging to a given X.509 certificate
*/
private_key_t* get_x509_private_key(const x509cert_t *cert)
{
@@ -297,7 +297,7 @@ private_key_t* get_x509_private_key(const x509cert_t *cert)
return NULL;
}
/* find the appropriate RSA private key (see get_secret).
/* find the appropriate private key (see get_secret).
* Failure is indicated by a NULL pointer.
*/
private_key_t* get_private_key(const struct connection *c)