strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca37f81
)
made some stuff static
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 28 Apr 2008 14:19:25 +0000
(14:19 -0000)
committer
Tobias Brunner
<tobias@strongswan.org>
Mon, 28 Apr 2008 14:19:25 +0000
(14:19 -0000)
src/charon/kernel/kernel_interface.c
patch
|
blob
|
history
diff --git
a/src/charon/kernel/kernel_interface.c
b/src/charon/kernel/kernel_interface.c
index
9a6ff1a
..
b1cabfa
100644
(file)
--- a/
src/charon/kernel/kernel_interface.c
+++ b/
src/charon/kernel/kernel_interface.c
@@
-111,7
+111,7
@@
struct kernel_algorithm_t {
/**
* Algorithms for encryption
*/
/**
* Algorithms for encryption
*/
-kernel_algorithm_t encryption_algs[] = {
+
static
kernel_algorithm_t encryption_algs[] = {
/* {ENCR_DES_IV64, "***", 0}, */
{ENCR_DES, "des", 64},
{ENCR_3DES, "des3_ede", 192},
/* {ENCR_DES_IV64, "***", 0}, */
{ENCR_DES, "des", 64},
{ENCR_3DES, "des3_ede", 192},
@@
-130,7
+130,7
@@
kernel_algorithm_t encryption_algs[] = {
/**
* Algorithms for integrity protection
*/
/**
* Algorithms for integrity protection
*/
-kernel_algorithm_t integrity_algs[] = {
+
static
kernel_algorithm_t integrity_algs[] = {
{AUTH_HMAC_MD5_96, "md5", 128},
{AUTH_HMAC_SHA1_96, "sha1", 160},
{AUTH_HMAC_SHA2_256_128, "sha256", 256},
{AUTH_HMAC_MD5_96, "md5", 128},
{AUTH_HMAC_SHA1_96, "sha1", 160},
{AUTH_HMAC_SHA2_256_128, "sha256", 256},
@@
-145,7
+145,7
@@
kernel_algorithm_t integrity_algs[] = {
/**
* Look up a kernel algorithm name and its key size
*/
/**
* Look up a kernel algorithm name and its key size
*/
-char* lookup_algorithm(kernel_algorithm_t *kernel_algo,
+
static
char* lookup_algorithm(kernel_algorithm_t *kernel_algo,
u_int16_t ikev2_algo, u_int16_t *key_size)
{
while (kernel_algo->ikev2_id != END_OF_LIST)
u_int16_t ikev2_algo, u_int16_t *key_size)
{
while (kernel_algo->ikev2_id != END_OF_LIST)