projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b255516
)
Remove duplicate assignment.
author
KaoruToda
<kunnpuu@gmail.com>
Sat, 21 Oct 2017 10:11:39 +0000
(19:11 +0900)
committer
Rich Salz
<rsalz@openssl.org>
Sat, 21 Oct 2017 15:02:52 +0000
(11:02 -0400)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4565)
crypto/asn1/asn_mime.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/asn_mime.c
b/crypto/asn1/asn_mime.c
index e0b61eb27f534ce63d50684e6cf8f75bd4e8bd89..936c8a5b009eaeef785220feb92e2c6e80cc7c8d 100644
(file)
--- 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')