Further comment amendments to preserve formatting prior to source reformat Reviewed-by: Tim Hudson <tjh@openssl.org>
diff --git a/ssl/kssl.c b/ssl/kssl.c index 7009a58..3ae19d2 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c
@@ -907,7 +907,8 @@ return cklens; } -/* Return pointer to start of real authenticator within authenticator, or +/*- + * Return pointer to start of real authenticator within authenticator, or * return NULL on error. * Decrypted authenticator looks like this: * [0 or 8 byte confounder] [4-24 byte checksum] [real authent'r]
diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 845c803..4e698bd 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c
@@ -588,7 +588,8 @@ } #ifndef OPENSSL_NO_BUF_FREELISTS -/* On some platforms, malloc() performance is bad enough that you can't just +/*- + * On some platforms, malloc() performance is bad enough that you can't just * free() and malloc() buffers all the time, so we need to use freelists from * unused buffers. Currently, each freelist holds memory chunks of only a * given size (list->chunklen); other sized chunks are freed and malloced.
diff --git a/ssl/s3_cbc.c b/ssl/s3_cbc.c index 9910306..0019ee6 100644 --- a/ssl/s3_cbc.c +++ b/ssl/s3_cbc.c
@@ -723,7 +723,8 @@ if (EVP_CIPHER_CTX_mode(cipher_ctx) != EVP_CIPH_CBC_MODE) return; block_size = EVP_MD_CTX_block_size(mac_ctx); - /* We are in FIPS mode if we get this far so we know we have only SHA* + /*- + * We are in FIPS mode if we get this far so we know we have only SHA* * digests and TLS to deal with. * Minimum digest padding length is 17 for SHA384/SHA512 and 9 * otherwise.
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 1552fd9..d42f50b 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c
@@ -1924,7 +1924,8 @@ ret->quiet_shutdown=0; /* ret->cipher=NULL;*/ -/* ret->s2->challenge=NULL; +/*- + ret->s2->challenge=NULL; ret->master_key=NULL; ret->s2->conn_id=NULL; */
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 493b0fd..5b31695 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c
@@ -425,7 +425,8 @@ return(1); } -/* ssl_get_prev attempts to find an SSL_SESSION to be used to resume this +/*- + * ssl_get_prev attempts to find an SSL_SESSION to be used to resume this * connection. It is only called by servers. * * session_id: points at the session ID in the ClientHello. This code will
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index c699b61..8129259 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c
@@ -375,7 +375,8 @@ static const char *alpn_expected; static unsigned char *alpn_selected; -/* next_protos_parse parses a comma separated list of strings into a string +/*- + * next_protos_parse parses a comma separated list of strings into a string * in a format suitable for passing to SSL_CTX_set_next_protos_advertised. * outlen: (output) set to the length of the resulting buffer on success. * err: (maybe NULL) on failure, an error message line is written to this BIO. @@ -2374,7 +2375,8 @@ if (SSL_in_init(s_ssl)) printf("server waiting in SSL_accept - %s\n", SSL_state_string_long(s_ssl)); -/* else if (s_write) +/*- + else if (s_write) printf("server:SSL_write()\n"); else printf("server:SSL_read()\n"); */ @@ -2385,7 +2387,8 @@ if (SSL_in_init(c_ssl)) printf("client waiting in SSL_connect - %s\n", SSL_state_string_long(c_ssl)); -/* else if (c_write) +/*- + else if (c_write) printf("client:SSL_write()\n"); else printf("client:SSL_read()\n"); */
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index dd29306..a1042f5 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c
@@ -694,7 +694,8 @@ return(ret); } -/* tls1_enc encrypts/decrypts the record in |s->wrec| / |s->rrec|, respectively. +/*- + * tls1_enc encrypts/decrypts the record in |s->wrec| / |s->rrec|, respectively. * * Returns: * 0: (in non-constant time) if the record is publically invalid (i.e. too