diff options
author | KaoruToda <kunnpuu@gmail.com> | 2017-10-21 19:11:39 +0900 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-10-21 11:02:52 -0400 |
commit | 0c1aaa24cc30de8d793f965f4a01863a25773a50 (patch) | |
tree | 9d494d59e2458ddac5d2bf28cc9a57608e518b5d /crypto/asn1/asn_mime.c | |
parent | b2555168ecf6e88ad9aeb0ad4f7b7a714901d575 (diff) | |
download | openssl-new-0c1aaa24cc30de8d793f965f4a01863a25773a50.tar.gz |
Remove duplicate assignment.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4565)
Diffstat (limited to 'crypto/asn1/asn_mime.c')
-rw-r--r-- | crypto/asn1/asn_mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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') |