diff options
author | Martin Willi <martin@revosec.ch> | 2010-08-10 14:38:44 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-08-10 18:46:30 +0200 |
commit | 33ddaaabec136e358bf38a6aeb7855f466603007 (patch) | |
tree | 859a922eddbf0810e7e8917afdbde1a7a8de22b7 /src/libstrongswan/plugins/pgp/pgp_builder.c | |
parent | 3547a9b87de314d31f88adb8a0098a885cdf7c5d (diff) | |
download | strongswan-33ddaaabec136e358bf38a6aeb7855f466603007.tar.bz2 strongswan-33ddaaabec136e358bf38a6aeb7855f466603007.tar.xz |
Added support for different encryption schemes to private/public keys
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_builder.c')
-rw-r--r-- | src/libstrongswan/plugins/pgp/pgp_builder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_builder.c b/src/libstrongswan/plugins/pgp/pgp_builder.c index 84c9bfddd..440e70a18 100644 --- a/src/libstrongswan/plugins/pgp/pgp_builder.c +++ b/src/libstrongswan/plugins/pgp/pgp_builder.c @@ -129,7 +129,7 @@ static bool sign_not_allowed(private_key_t *this, signature_scheme_t scheme, /** * Implementation of private_key_t.decrypt for signature-only keys */ -static bool decrypt_not_allowed(private_key_t *this, +static bool decrypt_not_allowed(private_key_t *this, encryption_scheme_t scheme, chunk_t crypto, chunk_t *plain) { DBG1(DBG_LIB, "decryption failed - signature only key"); |