aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/openssl/openssl_crypter.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-04-28 15:26:38 +0000
committerTobias Brunner <tobias@strongswan.org>2008-04-28 15:26:38 +0000
commita733b30276c5a588eabbd861f855292a3d33daeb (patch)
treecafb9d0f5e8463ca969f2fcfb5e335cea7309ace /src/libstrongswan/plugins/openssl/openssl_crypter.c
parent3b34019f5824841bc36c45535a780e12981cb650 (diff)
downloadstrongswan-a733b30276c5a588eabbd861f855292a3d33daeb.tar.bz2
strongswan-a733b30276c5a588eabbd861f855292a3d33daeb.tar.xz
algo lookup corrected
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_crypter.c')
-rw-r--r--src/libstrongswan/plugins/openssl/openssl_crypter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_crypter.c b/src/libstrongswan/plugins/openssl/openssl_crypter.c
index 8007d7e11..06a24b31d 100644
--- a/src/libstrongswan/plugins/openssl/openssl_crypter.c
+++ b/src/libstrongswan/plugins/openssl/openssl_crypter.c
@@ -46,11 +46,11 @@ struct private_openssl_crypter_t {
* Mapping from the algorithms defined in IKEv2 to
* OpenSSL algorithm names and their key length
*/
-static typedef struct {
+typedef struct {
/**
* Identifier specified in IKEv2
*/
- u_int16_t ikev2_id;
+ int ikev2_id;
/**
* Name of the algorithm, as used in OpenSSL
@@ -176,7 +176,7 @@ static void set_key(private_openssl_crypter_t *this, chunk_t key)
}
/**
- * Implementation of crypter_t.destroy and aes_crypter_t.destroy.
+ * Implementation of crypter_t.destroy.
*/
static void destroy (private_openssl_crypter_t *this)
{