From 0c1aaa24cc30de8d793f965f4a01863a25773a50 Mon Sep 17 00:00:00 2001 From: KaoruToda Date: Sat, 21 Oct 2017 19:11:39 +0900 Subject: [PATCH] Remove duplicate assignment. Reviewed-by: Tim Hudson Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4565) --- 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 e0b61eb27f..936c8a5b00 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') -- 2.25.1