summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorTim Hudson <tjh@openssl.org>2014-12-28 12:48:40 +1000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:33:23 +0000
commit3e9a08ecb164098f997bce92a0db72287f39c106 (patch)
treeb086482b8835ee069eb902a5edd708f418623ee3 /crypto
parent3a9a0321638ae13957b66baae6d4955597fc128d (diff)
mark all block comments that need format preserving so that
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes/aes_core.c2
-rw-r--r--crypto/aes/aes_x86core.c4
-rw-r--r--crypto/asn1/a_sign.c3
-rw-r--r--crypto/asn1/a_time.c3
-rw-r--r--crypto/asn1/a_utf8.c3
-rw-r--r--crypto/asn1/asn1.h3
-rw-r--r--crypto/asn1/asn1t.h6
-rw-r--r--crypto/asn1/x_attrib.c3
-rw-r--r--crypto/asn1/x_req.c3
-rw-r--r--crypto/bf/blowfish.h2
-rw-r--r--crypto/bio/b_print.c2
-rw-r--r--crypto/bio/b_sock.c3
-rw-r--r--crypto/bio/bf_null.c6
-rw-r--r--crypto/bio/bio.h9
-rw-r--r--crypto/bio/bss_acpt.c2
-rw-r--r--crypto/bio/bss_bio.c6
-rw-r--r--crypto/bio/bss_rtcp.c3
-rw-r--r--crypto/bn/asm/x86_64-gcc.c4
-rw-r--r--crypto/bn/bn.h3
-rw-r--r--crypto/bn/bn_add.c6
-rw-r--r--crypto/bn/bn_ctx.c3
-rw-r--r--crypto/bn/bn_div.c3
-rw-r--r--crypto/bn/bn_exp.c3
-rw-r--r--crypto/bn/bn_gcd.c31
-rw-r--r--crypto/bn/bn_lcl.h2
-rw-r--r--crypto/bn/bn_lib.c3
-rw-r--r--crypto/bn/bn_mul.c33
-rw-r--r--crypto/bn/bn_recp.c3
-rw-r--r--crypto/bn/bn_sqr.c9
-rw-r--r--crypto/bn/bn_sqrt.c12
-rw-r--r--crypto/conf/conf_def.c3
-rw-r--r--crypto/constant_time_locl.h6
-rw-r--r--crypto/constant_time_test.c2
-rw-r--r--crypto/crypto.h3
-rw-r--r--crypto/des/des_locl.h3
-rw-r--r--crypto/des/des_old.c3
-rw-r--r--crypto/des/des_old.h3
-rw-r--r--crypto/des/destest.c2
-rw-r--r--crypto/des/enc_read.c2
-rw-r--r--crypto/des/enc_writ.c2
-rw-r--r--crypto/des/ncbc_enc.c2
-rw-r--r--crypto/des/rpc_des.h2
-rw-r--r--crypto/des/set_key.c11
-rw-r--r--crypto/dh/dh_check.c3
-rw-r--r--crypto/dh/dh_gen.c3
-rw-r--r--crypto/dsa/dsa_ameth.c3
-rw-r--r--crypto/dsa/dsa_asn1.c3
-rw-r--r--crypto/dsa/dsa_ossl.c3
-rw-r--r--crypto/dso/dso_vms.c3
-rw-r--r--crypto/ec/ec.h2
-rw-r--r--crypto/ec/ec2_mult.c15
-rw-r--r--crypto/ec/ec2_oct.c3
-rw-r--r--crypto/ec/ec2_smpl.c6
-rw-r--r--crypto/ec/ec_lcl.h3
-rw-r--r--crypto/ec/ec_mult.c6
-rw-r--r--crypto/ec/ecp_nistp224.c42
-rw-r--r--crypto/ec/ecp_nistp256.c81
-rw-r--r--crypto/ec/ecp_nistp521.c84
-rw-r--r--crypto/ec/ecp_nistputil.c2
-rw-r--r--crypto/ec/ecp_smpl.c17
-rw-r--r--crypto/ecdh/ech_ossl.c3
-rw-r--r--crypto/ecdsa/ecs_vrf.c6
-rw-r--r--crypto/engine/eng_openssl.c3
-rw-r--r--crypto/engine/engine.h8
-rw-r--r--crypto/evp/bio_enc.c2
-rw-r--r--crypto/evp/bio_md.c2
-rw-r--r--crypto/evp/bio_ok.c2
-rw-r--r--crypto/evp/encode.c9
-rw-r--r--crypto/evp/evp.h2
-rw-r--r--crypto/evp/evp_locl.h2
-rw-r--r--crypto/evp/p_seal.c2
-rw-r--r--crypto/idea/ideatest.c2
-rw-r--r--crypto/jpake/jpake.c8
-rw-r--r--crypto/jpake/jpaketest.c4
-rw-r--r--crypto/krb5/krb5_asn.h134
-rw-r--r--crypto/lhash/lhash.c3
-rw-r--r--crypto/md32_common.h2
-rw-r--r--crypto/md4/md4.h2
-rw-r--r--crypto/md5/md5_locl.h2
-rw-r--r--crypto/modes/gcm128.c2
-rw-r--r--crypto/o_time.c3
-rw-r--r--crypto/objects/objects.h8
-rw-r--r--crypto/ocsp/ocsp.h38
-rw-r--r--crypto/ocsp/ocsp_ext.c3
-rw-r--r--crypto/opensslv.h6
-rw-r--r--crypto/pem/pem.h9
-rw-r--r--crypto/pkcs7/pkcs7.h2
-rw-r--r--crypto/rand/rand_egd.c2
-rw-r--r--crypto/rand/rand_win.c3
-rw-r--r--crypto/rc2/rc2_ecb.c3
-rw-r--r--crypto/rc2/rc2test.c2
-rw-r--r--crypto/rc4/rc4_enc.c4
-rw-r--r--crypto/rsa/rsa_pss.c4
-rw-r--r--crypto/sha/sha.h2
-rw-r--r--crypto/sha/sha512.c2
-rw-r--r--crypto/stack/safestack.h5
-rw-r--r--crypto/stack/stack.c3
-rw-r--r--crypto/threads/mttest.c7
-rw-r--r--crypto/threads/th-lock.c3
-rw-r--r--crypto/ts/ts.h20
-rw-r--r--crypto/ts/ts_rsp_verify.c2
-rw-r--r--crypto/ui/ui.h6
-rw-r--r--crypto/ui/ui_openssl.c3
-rw-r--r--crypto/whrlpool/wp_dgst.c2
-rw-r--r--crypto/x509/x509.h2
-rw-r--r--crypto/x509/x509_lu.c3
-rw-r--r--crypto/x509/x509_vfy.c3
-rw-r--r--crypto/x509/x509_vfy.h2
-rw-r--r--crypto/x509/x509_vpm.c3
-rw-r--r--crypto/x509/x509name.c6
-rw-r--r--crypto/x509v3/pcy_tree.c8
-rw-r--r--crypto/x509v3/v3_lib.c3
-rw-r--r--crypto/x509v3/v3_ncons.c4
-rw-r--r--crypto/x509v3/v3_pku.c2
-rw-r--r--crypto/x509v3/v3_purp.c6
115 files changed, 537 insertions, 348 deletions
diff --git a/crypto/aes/aes_core.c b/crypto/aes/aes_core.c
index 8f5210ac70..acd5f55547 100644
--- a/crypto/aes/aes_core.c
+++ b/crypto/aes/aes_core.c
@@ -40,7 +40,7 @@
#include "aes_locl.h"
#ifndef AES_ASM
-/*
+/*-
Te0[x] = S [x].[02, 01, 01, 03];
Te1[x] = S [x].[03, 02, 01, 01];
Te2[x] = S [x].[01, 03, 02, 01];
diff --git a/crypto/aes/aes_x86core.c b/crypto/aes/aes_x86core.c
index d323e265c0..f960a4b570 100644
--- a/crypto/aes/aes_x86core.c
+++ b/crypto/aes/aes_x86core.c
@@ -103,7 +103,7 @@ typedef unsigned long long u64;
})
# endif
#endif
-/*
+/*-
Te [x] = S [x].[02, 01, 01, 03, 02, 01, 01, 03];
Te0[x] = S [x].[02, 01, 01, 03];
Te1[x] = S [x].[03, 02, 01, 01];
@@ -114,7 +114,7 @@ Te3[x] = S [x].[01, 01, 03, 02];
#define Te1 (u32)((u64*)((u8*)Te+3))
#define Te2 (u32)((u64*)((u8*)Te+2))
#define Te3 (u32)((u64*)((u8*)Te+1))
-/*
+/*-
Td [x] = Si[x].[0e, 09, 0d, 0b, 0e, 09, 0d, 0b];
Td0[x] = Si[x].[0e, 09, 0d, 0b];
Td1[x] = Si[x].[0b, 0e, 09, 0d];
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c
index 7b4a193d6b..2f7c79025c 100644
--- a/crypto/asn1/a_sign.c
+++ b/crypto/asn1/a_sign.c
@@ -254,7 +254,8 @@ int ASN1_item_sign_ctx(const ASN1_ITEM *it,
signature);
if (rv == 1)
outl = signature->length;
- /* Return value meanings:
+ /*-
+ * Return value meanings:
* <=0: error.
* 1: method does everything.
* 2: carry on as normal.
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c
index e2eb9b243e..6777189947 100644
--- a/crypto/asn1/a_time.c
+++ b/crypto/asn1/a_time.c
@@ -54,7 +54,8 @@
*/
-/* This is an implementation of the ASN1 Time structure which is:
+/*-
+ * This is an implementation of the ASN1 Time structure which is:
* Time ::= CHOICE {
* utcTime UTCTime,
* generalTime GeneralizedTime }
diff --git a/crypto/asn1/a_utf8.c b/crypto/asn1/a_utf8.c
index 508e11e527..2105306fea 100644
--- a/crypto/asn1/a_utf8.c
+++ b/crypto/asn1/a_utf8.c
@@ -63,7 +63,8 @@
/* UTF8 utilities */
-/* This parses a UTF8 string one character at a time. It is passed a pointer
+/*-
+ * This parses a UTF8 string one character at a time. It is passed a pointer
* to the string and the length of the string. It sets 'value' to the value of
* the current character. It returns the number of characters read or a
* negative error code:
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 3c45d5d03f..bdb57962f9 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -361,7 +361,8 @@ typedef struct ASN1_VALUE_st ASN1_VALUE;
TYPEDEF_D2I2D_OF(void);
-/* The following macros and typedefs allow an ASN1_ITEM
+/*-
+ * The following macros and typedefs allow an ASN1_ITEM
* to be embedded in a structure and referenced. Since
* the ASN1_ITEM pointers need to be globally accessible
* (possibly from shared libraries) they may exist in
diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h
index d230e4bf70..47502a6a5e 100644
--- a/crypto/asn1/asn1t.h
+++ b/crypto/asn1/asn1t.h
@@ -129,7 +129,8 @@ extern "C" {
/* This is a ASN1 type which just embeds a template */
-/* This pair helps declare a SEQUENCE. We can do:
+/*-
+ * This pair helps declare a SEQUENCE. We can do:
*
* ASN1_SEQUENCE(stname) = {
* ... SEQUENCE components ...
@@ -231,7 +232,8 @@ extern "C" {
ASN1_ITEM_end(tname)
-/* This pair helps declare a CHOICE type. We can do:
+/*-
+ * This pair helps declare a CHOICE type. We can do:
*
* ASN1_CHOICE(chname) = {
* ... CHOICE options ...
diff --git a/crypto/asn1/x_attrib.c b/crypto/asn1/x_attrib.c
index 1e3713f18f..04ae991115 100644
--- a/crypto/asn1/x_attrib.c
+++ b/crypto/asn1/x_attrib.c