Added support for different encryption schemes to private/public keys

This commit is contained in:
Martin Willi
2010-08-10 18:46:30 +02:00
parent 3547a9b87d
commit 33ddaaabec
19 changed files with 100 additions and 24 deletions
@@ -299,7 +299,8 @@ METHOD(private_key_t, get_type, key_type_t,
}
METHOD(private_key_t, decrypt, bool,
private_agent_private_key_t *this, chunk_t crypto, chunk_t *plain)
private_agent_private_key_t *this, encryption_scheme_t scheme,
chunk_t crypto, chunk_t *plain)
{
DBG1(DBG_LIB, "private key decryption not supported by ssh-agent");
return FALSE;