diff options
author | Martin Willi <martin@strongswan.org> | 2009-09-04 13:46:09 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-09-04 13:46:09 +0200 |
commit | 7daf5226b74e14a6e0f1a888b0be26f3d246f9f8 (patch) | |
tree | 6436de2e84e7a677ecfb83db4bf44766cc273d9f /src/pluto/keys.c | |
parent | 7d1b0304467bc668b592ccd6680fd9615efbb5b2 (diff) | |
download | strongswan-7daf5226b74e14a6e0f1a888b0be26f3d246f9f8.tar.bz2 strongswan-7daf5226b74e14a6e0f1a888b0be26f3d246f9f8.tar.xz |
removed trailing spaces ([[:space:]]+$)
Diffstat (limited to 'src/pluto/keys.c')
-rw-r--r-- | src/pluto/keys.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pluto/keys.c b/src/pluto/keys.c index 72ae19f9e..4035495c6 100644 --- a/src/pluto/keys.c +++ b/src/pluto/keys.c @@ -392,7 +392,7 @@ enum rsa_private_key_part_t { RSA_PART_EXPONENT1 = 5, RSA_PART_EXPONENT2 = 6, RSA_PART_COEFFICIENT = 7 -}; +}; const char *rsa_private_key_part_names[] = { "Modulus", @@ -464,13 +464,13 @@ static err_t process_rsa_secret(private_key_t **key) goto end; } - *key = lib->creds->create(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, + *key = lib->creds->create(lib->creds, CRED_PRIVATE_KEY, KEY_RSA, BUILD_RSA_MODULUS, rsa_chunk[RSA_PART_MODULUS], BUILD_RSA_PUB_EXP, rsa_chunk[RSA_PART_PUBLIC_EXPONENT], BUILD_RSA_PRIV_EXP, rsa_chunk[RSA_PART_PRIVATE_EXPONENT], BUILD_RSA_PRIME1, rsa_chunk[RSA_PART_PRIME1], BUILD_RSA_PRIME2, rsa_chunk[RSA_PART_PRIME2], - BUILD_RSA_EXP1, rsa_chunk[RSA_PART_EXPONENT1], + BUILD_RSA_EXP1, rsa_chunk[RSA_PART_EXPONENT1], BUILD_RSA_EXP2, rsa_chunk[RSA_PART_EXPONENT2], BUILD_RSA_COEFF, rsa_chunk[RSA_PART_COEFFICIENT], BUILD_END); @@ -486,7 +486,7 @@ end: { chunk_clear(&rsa_chunk[p]); } - return ugh; + return ugh; } /** @@ -714,7 +714,7 @@ static err_t process_pin(secret_t *s, int whackfd) } } else - { + { /* we read the pin directly from ipsec.secrets */ err_t ugh = process_psk_secret(&sc->pin); if (ugh != NULL) |