summaryrefslogtreecommitdiffstats
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:48:44 +0000
commitb558c8d59782dab2809a1530cbbcd9f38785302b (patch)
treea87d3dbc2e91e6afeca572069e7866da31985b11
parentba442a7e1ba96d0b189bc627a2a750c928a42d13 (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 Conflicts: crypto/asn1/a_sign.c crypto/bn/bn_div.c crypto/dsa/dsa_asn1.c crypto/ec/ecp_nistp224.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c crypto/ec/ecp_nistputil.c crypto/modes/gcm128.c crypto/opensslv.h ssl/d1_both.c ssl/heartbeat_test.c ssl/s3_clnt.c ssl/s3_srvr.c ssl/ssl_sess.c ssl/t1_lib.c test/testutil.h Conflicts: apps/openssl.c apps/ts.c apps/vms_decc_init.c crypto/aes/aes_core.c crypto/aes/aes_x86core.c crypto/dsa/dsa_ameth.c crypto/ec/ec2_mult.c crypto/evp/evp.h crypto/objects/objects.h crypto/rsa/rsa_pss.c crypto/stack/safestack.h crypto/ts/ts.h crypto/ts/ts_rsp_verify.c crypto/whrlpool/wp_dgst.c crypto/x509v3/v3_ncons.c e_os2.h engines/ccgost/gost89.c engines/ccgost/gost_ctl.c engines/ccgost/gost_keywrap.c engines/ccgost/gost_keywrap.h engines/ccgost/gost_sign.c ssl/kssl.c ssl/s3_srvr.c Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r--apps/asn1pars.c3
-rw-r--r--apps/ca.c3
-rw-r--r--apps/crl2p7.c3
-rw-r--r--apps/dh.c3
-rw-r--r--apps/dhparam.c3
-rw-r--r--apps/dsa.c3
-rw-r--r--apps/dsaparam.c3
-rw-r--r--apps/ec.c3
-rw-r--r--apps/ecparam.c3
-rw-r--r--apps/passwd.c3
-rw-r--r--apps/rand.c3
-rw-r--r--apps/req.c3
-rw-r--r--apps/rsa.c3
-rw-r--r--apps/s_socket.c2
-rw-r--r--apps/spkac.c3
-rw-r--r--crypto/aes/aes_core.c2
-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/bio.h9
-rw-r--r--crypto/bio/bss_acpt.c2
-rw-r--r--crypto/bio/bss_bio.c6
-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_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.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.c5
-rw-r--r--crypto/dh/dh_check.c3
-rw-r--r--crypto/dh/dh_gen.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.c9
-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_smpl.c12
-rw-r--r--crypto/ecdsa/ecs_vrf.c6
-rw-r--r--crypto/engine/eng_padlock.c2
-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/o_time.c3
-rw-r--r--crypto/objects/objects.h3
-rw-r--r--crypto/ocsp/ocsp.h38
-rw-r--r--crypto/opensslv.h6
-rw-r--r--crypto/pkcs7/pkcs7.h2
-rw-r--r--crypto/rand/rand_egd.c2
-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/ui/ui.h6
-rw-r--r--crypto/x509/x509.h2
-rw-r--r--crypto/x509/x509_lu.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.c3
-rw-r--r--crypto/x509v3/v3_purp.c6
-rw-r--r--demos/asn1/ocsp.c3
-rw-r--r--demos/easy_tls/easy-tls.c7
-rw-r--r--e_os.h3
-rw-r--r--e_os2.h58
-rw-r--r--engines/e_chil.c3
-rw-r--r--engines/e_gmp.c3
-rw-r--r--engines/vendor_defns/hwcryptohook.h62
-rw-r--r--engines/vendor_defns/sureware.h67
-rw-r--r--ms/tlhelp32.h2
-rw-r--r--ssl/d1_both.c8
-rw-r--r--ssl/d1_pkt.c15
-rw-r--r--ssl/kssl.c245
-rw-r--r--ssl/kssl.h22
-rw-r--r--ssl/s23_srvr.c3
-rw-r--r--ssl/s3_both.c3
-rw-r--r--ssl/s3_cbc.c21
-rw-r--r--ssl/s3_clnt.c53
-rw-r--r--ssl/s3_pkt.c27
-rw-r--r--ssl/s3_srvr.c21
-rw-r--r--ssl/ssl.h5
-rw-r--r--ssl/ssl_ciph.c14
-rw-r--r--ssl/ssl_locl.h5
-rw-r--r--ssl/ssl_task.c4
-rw-r--r--ssl/ssltest.c17
-rw-r--r--ssl/t1_lib.c64
-rw-r--r--test/methtest.c2
123 files changed, 743 insertions, 570 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index 305cdfc6af..d92c0eb44e 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -69,7 +69,8 @@
#include <openssl/x509.h>
#include <openssl/pem.h>
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -in arg - input file - default stdin
* -i - indent the details by depth
* -offset - where in the file to start
diff --git a/apps/ca.c b/apps/ca.c
index 45c3183b9b..37d1755e53 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -2780,7 +2780,8 @@ char *make_revocation_str(int rev_type, char *rev_arg)
return str;
}
-/* Convert revocation field to X509_REVOKED entry
+/*-
+ * Convert revocation field to X509_REVOKED entry
* return code:
* 0 error
* 1 OK
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index f164a3ad94..eb7c6bfa0c 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -76,7 +76,8 @@ static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
#undef PROG
#define PROG crl2pkcs7_main
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/dh.c b/apps/dh.c
index 7e45bd3356..3595a8e88f 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -74,7 +74,8 @@
#undef PROG
#define PROG dh_main
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/dhparam.c b/apps/dhparam.c
index 4a9594ea46..9175b28270 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -132,7 +132,8 @@
#define DEFBITS 512
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/dsa.c b/apps/dsa.c
index 5e68a56cfd..8833f44cfb 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -74,7 +74,8 @@
#undef PROG
#define PROG dsa_main
-/* -inform arg - input format - default PEM (one of DER, NET or PEM)
+/*-
+ * -inform arg - input format - default PEM (one of DER, NET or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/dsaparam.c b/apps/dsaparam.c
index fe72c1d3df..7b8c4bada7 100644
--- a/apps/dsaparam.c
+++ b/apps/dsaparam.c
@@ -80,7 +80,8 @@
#undef PROG
#define PROG dsaparam_main
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/ec.c b/apps/ec.c
index 6b3d3ad91b..0bb148161f 100644
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -70,7 +70,8 @@
#undef PROG
#define PROG ec_main
-/* -inform arg - input format - default PEM (one of DER, NET or PEM)
+/*-
+ * -inform arg - input format - default PEM (one of DER, NET or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/ecparam.c b/apps/ecparam.c
index 2d3fd30324..bba8229619 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -87,7 +87,8 @@
#undef PROG
#define PROG ecparam_main
-/* -inform arg - input format - default PEM (DER or PEM)
+/*-
+ * -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM
* -in arg - input file - default stdin
* -out arg - output file - default stdout
diff --git a/apps/passwd.c b/apps/passwd.c
index 9ca25dd1da..8e65ed7cbb 100644
--- a/apps/passwd.c
+++ b/apps/passwd.c
@@ -43,7 +43,8 @@ static int do_passwd(int passed_salt, char **salt_p, char **salt_malloc_p,
char *passwd, BIO *out, int quiet, int table, int reverse,
size_t pw_maxlen, int usecrypt, int use1, int useapr1);
-/* -crypt - standard Un