summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorTim Hudson <tjh@openssl.org>2014-12-28 12:48:40 +1000
committerMatt Caswell <matt@openssl.org>2014-12-30 22:10:26 +0000
commit1d97c8435171a7af575f73c526d79e1ef0ee5960 (patch)
tree99405d276f1713c41130162ac64f6b01c95a0751 /crypto/x509
parentaa8a9266f91ce05068c5bf7eab44263c99d366f3 (diff)
mark all block comments that need format preserving so that
indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/x509')
-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
5 files changed, 10 insertions, 6 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index ad804f2bdd..46c1d443b5 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -549,7 +549,7 @@ typedef struct Netscape_certificate_sequence
STACK_OF(X509) *certs;
} NETSCAPE_CERT_SEQUENCE;
-/* Unused (and iv length is wrong)
+/*- Unused (and iv length is wrong)
typedef struct CBCParameter_st
{
unsigned char iv[8];
diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c
index 79281c6bdb..47426c79fd 100644
--- a/crypto/x509/x509_lu.c
+++ b/crypto/x509/x509_lu.c
@@ -624,7 +624,8 @@ X509_OBJECT *X509_OBJECT_retrieve_match(STACK_OF(X509_OBJECT) *h, X509_OBJECT *x
}
-/* Try to get issuer certificate from store. Due to limitations
+/*-
+ * Try to get issuer certificate from store. Due to limitations
* of the API this can only retrieve a single certificate matching
* a given subject name. However it will fill the cache with all
* matching certificates, so we can examine the cache for all
diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h
index 8a6f10dec2..aff2b0c43d 100644
--- a/crypto/x509/x509_vfy.h
+++ b/crypto/x509/x509_vfy.h
@@ -97,7 +97,7 @@ typedef struct x509_file_st
} X509_CERT_FILE_CTX;
/*******************************/
-/*
+/*-
SSL_CTX -> X509_STORE
-> X509_LOOKUP
->X509_LOOKUP_METHOD
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index a809219ba3..92ac03858b 100644
--- a/crypto/x509/x509_vpm.c
+++ b/crypto/x509/x509_vpm.c
@@ -193,7 +193,8 @@ void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param)
OPENSSL_free(param);
}
-/* This function determines how parameters are "inherited" from one structure
+/*-
+ * This function determines how parameters are "inherited" from one structure
* to another. There are several different ways this can happen.
*
* 1. If a child structure needs to have its values initialized from a parent
diff --git a/crypto/x509/x509name.c b/crypto/x509/x509name.c
index 27bc4dc9a3..81f40f56ef 100644
--- a/crypto/x509/x509name.c
+++ b/crypto/x509/x509name.c
@@ -157,14 +157,16 @@ X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc)
set_prev=ret->set-1;
set_next=sk_X509_NAME_ENTRY_value(sk,loc)->set;
- /* set_prev is the previous set
+ /*-
+ * set_prev is the previous set
* set is the current set
* set_next is the following
* prev 1 1 1 1 1 1 1 1
* set 1 1 2 2
* next 1 1 2 2 2 2 3 2
* so basically only if prev and next differ by 2, then
- * re-number down by 1 */
+ * re-number down by 1
+ */
if (set_prev+1 < set_next)
for (i=loc; i<n; i++)
sk_X509_NAME_ENTRY_value(sk,i)->set--;