diff options
Diffstat (limited to 'src/pluto')
-rw-r--r-- | src/pluto/constants.h | 2 | ||||
-rw-r--r-- | src/pluto/crypto.c | 4 | ||||
-rw-r--r-- | src/pluto/demux.c | 2 | ||||
-rw-r--r-- | src/pluto/ocsp.c | 4 | ||||
-rw-r--r-- | src/pluto/plutomain.c | 2 | ||||
-rw-r--r-- | src/pluto/x509.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/pluto/constants.h b/src/pluto/constants.h index b20737b73..81990cb37 100644 --- a/src/pluto/constants.h +++ b/src/pluto/constants.h @@ -692,7 +692,7 @@ typedef enum certpolicy { CERT_SEND_IF_ASKED = 1, CERT_NEVER_SEND = 2, - CERT_YES_SEND = 3, /* synonym for CERT_ALWAYS_SEND */ + CERT_YES_SEND = 3, /* synonym for CERT_ALWAYS_SEND */ CERT_NO_SEND = 4 /* synonym for CERT_NEVER_SEND */ } certpolicy_t; diff --git a/src/pluto/crypto.c b/src/pluto/crypto.c index c6d3950bb..85568f67f 100644 --- a/src/pluto/crypto.c +++ b/src/pluto/crypto.c @@ -491,7 +491,7 @@ int oakley_from_encryption_algorithm(encryption_algorithm_t alg) return OAKLEY_CAMELLIA_CBC; case ENCR_SERPENT_CBC: return OAKLEY_SERPENT_CBC; - case ENCR_TWOFISH_CBC: + case ENCR_TWOFISH_CBC: return OAKLEY_TWOFISH_CBC; default: return 0; @@ -561,7 +561,7 @@ int esp_from_encryption_algorithm(encryption_algorithm_t alg) return ESP_CAMELLIA; case ENCR_SERPENT_CBC: return ESP_SERPENT; - case ENCR_TWOFISH_CBC: + case ENCR_TWOFISH_CBC: return ESP_TWOFISH; default: return 0; diff --git a/src/pluto/demux.c b/src/pluto/demux.c index 73582dd92..b41c816e5 100644 --- a/src/pluto/demux.c +++ b/src/pluto/demux.c @@ -1827,7 +1827,7 @@ process_packet(struct msg_digest **mdp) crypter->decrypt(crypter, data, iv, NULL); crypter->destroy(crypter); - memcpy(st->st_new_iv, new_iv, crypter_block_size); + memcpy(st->st_new_iv, new_iv, crypter_block_size); if (restore_iv) { memcpy(st->st_new_iv, new_iv, new_iv_len); diff --git a/src/pluto/ocsp.c b/src/pluto/ocsp.c index 378955c06..49225a68c 100644 --- a/src/pluto/ocsp.c +++ b/src/pluto/ocsp.c @@ -318,7 +318,7 @@ static bool build_ocsp_location(const x509cert_t *cert, ocsp_location_t *locatio { return FALSE; } - hasher->get_hash(hasher, cert->issuer, digest); + hasher->get_hash(hasher, cert->issuer, digest); hasher->destroy(hasher); location->next = NULL; @@ -756,7 +756,7 @@ static chunk_t sc_build_sha1_signature(chunk_t tbs, smartcard_t *sc) { return chunk_empty; } - hasher->get_hash(hasher, tbs, digest_buf); + hasher->get_hash(hasher, tbs, digest_buf); hasher->destroy(hasher); /* according to PKCS#1 v2.1 digest must be packaged into diff --git a/src/pluto/plutomain.c b/src/pluto/plutomain.c index 808e5f042..0de8d4d5d 100644 --- a/src/pluto/plutomain.c +++ b/src/pluto/plutomain.c @@ -129,7 +129,7 @@ static void usage(const char *mess) " [--debug-private]" " [--debug-natt]" #endif - " \\\n\t" + " \\\n\t" "[--nat_traversal] [--keep_alive <delay_sec>]" " \\\n\t" "[--force_keepalive] [--disable_port_floating]" diff --git a/src/pluto/x509.h b/src/pluto/x509.h index 7bad35257..6c1b4a6ca 100644 --- a/src/pluto/x509.h +++ b/src/pluto/x509.h @@ -64,7 +64,7 @@ struct x509cert { chunk_t serialNumber; /* signature */ int sigAlg; - chunk_t issuer; + chunk_t issuer; /* validity */ time_t notBefore; time_t notAfter; |