remove spaces before tabs at the beginning of lines (^( )+\t)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user