aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-04-28 14:52:58 +0000
committerTobias Brunner <tobias@strongswan.org>2008-04-28 14:52:58 +0000
commit3b34019f5824841bc36c45535a780e12981cb650 (patch)
tree296a6f928208a8f206f65259b79a1903fddd9dd7 /src
parentb61aa33599645e74a43e8f1b48b1d0ddb214d70c (diff)
downloadstrongswan-3b34019f5824841bc36c45535a780e12981cb650.tar.bz2
strongswan-3b34019f5824841bc36c45535a780e12981cb650.tar.xz
made algo struct static
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/plugins/openssl/openssl_crypter.c4
1 files 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)