From 3b34019f5824841bc36c45535a780e12981cb650 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 28 Apr 2008 14:52:58 +0000 Subject: [PATCH] made algo struct static --- src/libstrongswan/plugins/openssl/openssl_crypter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstrongswan/plugins/openssl/openssl_crypter.c b/src/libstrongswan/plugins/openssl/openssl_crypter.c index e85ad9134..8007d7e11 100644 --- a/src/libstrongswan/plugins/openssl/openssl_crypter.c +++ b/src/libstrongswan/plugins/openssl/openssl_crypter.c @@ -46,7 +46,7 @@ struct private_openssl_crypter_t { * Mapping from the algorithms defined in IKEv2 to * OpenSSL algorithm names and their key length */ -typedef struct { +static typedef struct { /** * Identifier specified in IKEv2 */ @@ -90,7 +90,7 @@ static openssl_algorithm_t encryption_algs[] = { }; /** - * Look up an OpenSSL algorithm name and its key size + * Look up an OpenSSL algorithm name and validate its key size */ static char* lookup_algorithm(openssl_algorithm_t *openssl_algo, u_int16_t ikev2_algo, size_t key_size)