made algo struct static

This commit is contained in:
Tobias Brunner
2008-04-28 14:52:58 +00:00
parent b61aa33599
commit 3b34019f58
@@ -46,7 +46,7 @@ struct private_openssl_crypter_t {
* Mapping from the algorithms defined in IKEv2 to * Mapping from the algorithms defined in IKEv2 to
* OpenSSL algorithm names and their key length * OpenSSL algorithm names and their key length
*/ */
typedef struct { static typedef struct {
/** /**
* Identifier specified in IKEv2 * 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, static char* lookup_algorithm(openssl_algorithm_t *openssl_algo,
u_int16_t ikev2_algo, size_t key_size) u_int16_t ikev2_algo, size_t key_size)