[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Sat Oct 21 22:02:43 UTC 2017


The branch master has been updated
       via  0c1aaa24cc30de8d793f965f4a01863a25773a50 (commit)
      from  b2555168ecf6e88ad9aeb0ad4f7b7a714901d575 (commit)


- Log -----------------------------------------------------------------
commit 0c1aaa24cc30de8d793f965f4a01863a25773a50
Author: KaoruToda <kunnpuu at gmail.com>
Date:   Sat Oct 21 19:11:39 2017 +0900

    Remove duplicate assignment.
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4565)

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

Summary of changes:
 crypto/asn1/asn_mime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c
index e0b61eb..936c8a5 100644
--- a/crypto/asn1/asn_mime.c
+++ b/crypto/asn1/asn_mime.c
@@ -949,7 +949,7 @@ static int strip_eol(char *linebuf, int *plen, int flags)
     int len = *plen;
     char *p, c;
     int is_eol = 0;
-    p = linebuf + len - 1;
+
     for (p = linebuf + len - 1; len > 0; len--, p--) {
         c = *p;
         if (c == '\n')


More information about the openssl-commits mailing list