[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Mon Jul 31 00:11:33 UTC 2017


The branch master has been updated
       via  27eb9f23e60e5ed15651011f56eaf04591120630 (commit)
       via  3519bae518f0ed576daf05057e4fc79e49cb2bee (commit)
      from  1c026996da21a10584df2a148aa755938c6f5a80 (commit)


- Log -----------------------------------------------------------------
commit 27eb9f23e60e5ed15651011f56eaf04591120630
Author: Xiaoyin Liu <xiaoyinl at users.noreply.github.com>
Date:   Sun Jul 30 18:48:58 2017 -0400

    Fix typo in ASN1_TIME_set.pod
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4053)

commit 3519bae518f0ed576daf05057e4fc79e49cb2bee
Author: Xiaoyin Liu <xiaoyinl at users.noreply.github.com>
Date:   Sun Jul 30 18:43:19 2017 -0400

    Fix typos in files in ssl directory
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4052)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/ASN1_TIME_set.pod | 2 +-
 ssl/record/rec_layer_s3.c  | 4 ++--
 ssl/s3_cbc.c               | 4 ++--
 ssl/s3_lib.c               | 2 +-
 ssl/ssl_ciph.c             | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/man3/ASN1_TIME_set.pod b/doc/man3/ASN1_TIME_set.pod
index d71e4d1..2296296 100644
--- a/doc/man3/ASN1_TIME_set.pod
+++ b/doc/man3/ASN1_TIME_set.pod
@@ -58,7 +58,7 @@ If B<s> is NULL, then the current time is converted. The output time is GMT.
 The B<tm_sec>, B<tm_min>, B<tm_hour>, B<tm_mday>, B<tm_wday>, B<tm_yday>,
 B<tm_mon> and B<tm_year> fields of B<tm> structure are set to proper values,
 whereas all other fields are set to 0. If B<tm> is NULL this function performs
-a format check on B<s> only. If B<s> is in Generalized format with franctional
+a format check on B<s> only. If B<s> is in Generalized format with fractional
 seconds, e.g. YYYYMMDDHHMMSS.SSSZ, the fractional seconds will be lost while
 converting B<s> to B<tm> structure.
 
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index 68c427e..c1e563c 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -347,7 +347,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, size_t len,
     tot = s->rlayer.wnum;
     /*
      * ensure that if we end up with a smaller value of data to write out
-     * than the the original len from a write which didn't complete for
+     * than the original len from a write which didn't complete for
      * non-blocking I/O and also somehow ended up avoiding the check for
      * this in ssl3_write_pending/SSL_R_BAD_WRITE_RETRY as it must never be
      * possible to end up with (len-tot) as a large number that will then
@@ -942,7 +942,7 @@ int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
             || s->early_data_state == SSL_EARLY_DATA_WRITE_RETRY) {
         /*
          * We haven't actually negotiated the version yet, but we're trying to
-         * send early data - so we need to use the the tls13enc function.
+         * send early data - so we need to use the tls13enc function.
          */
         if (tls13_enc(s, wr, numpipes, 1) < 1)
             goto err;
diff --git a/ssl/s3_cbc.c b/ssl/s3_cbc.c
index 0981360..bab9b26 100644
--- a/ssl/s3_cbc.c
+++ b/ssl/s3_cbc.c
@@ -419,8 +419,8 @@ int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
              */
             b = constant_time_select_8(is_past_c, 0x80, b);
             /*
-             * If this the the block containing the end of the application
-             * data and we're past the 0x80 value then just write zero.
+             * If this block contains the end of the application data
+             * and we're past the 0x80 value then just write zero.
              */
             b = b & ~is_past_cp1;
             /*
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 3e70bce..a2959a3 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3790,7 +3790,7 @@ const SSL_CIPHER *ssl3_get_cipher_by_std_name(const char *stdname)
     SSL_CIPHER *tbl = ssl3_ciphers;
     size_t i;
 
-    /* this is not efficient, necessary to optimze this? */
+    /* this is not efficient, necessary to optimize this? */
     for (i = 0; i < SSL3_NUM_CIPHERS; i++, tbl++) {
         if (tbl->stdname == NULL)
             continue;
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 39feb1f..47f715d 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -1365,7 +1365,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method, STACK
     ssl_cipher_apply_rule(0, SSL_kPSK, 0, 0, 0, 0, 0, CIPHER_ORD, -1, &head,
                           &tail);
 
-    /* RC4 is sort-of broken -- move the the end */
+    /* RC4 is sort-of broken -- move to the end */
     ssl_cipher_apply_rule(0, 0, 0, SSL_RC4, 0, 0, 0, CIPHER_ORD, -1, &head,
                           &tail);
 


More information about the openssl-commits mailing list