diff options
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_par.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/asn_mime.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_par.c b/src/lib/libcrypto/asn1/asn1_par.c index 8085d1e570..5480e75720 100644 --- a/src/lib/libcrypto/asn1/asn1_par.c +++ b/src/lib/libcrypto/asn1/asn1_par.c | |||
@@ -138,9 +138,7 @@ asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offset, | |||
138 | while ((p < tot) && (op < p)) { | 138 | while ((p < tot) && (op < p)) { |
139 | op = p; | 139 | op = p; |
140 | j = ASN1_get_object(&p, &len, &tag, &xclass, length); | 140 | j = ASN1_get_object(&p, &len, &tag, &xclass, length); |
141 | #ifdef LINT | 141 | |
142 | j = j; | ||
143 | #endif | ||
144 | if (j & 0x80) { | 142 | if (j & 0x80) { |
145 | if (BIO_write(bp, "Error in encoding\n", 18) <= 0) | 143 | if (BIO_write(bp, "Error in encoding\n", 18) <= 0) |
146 | goto end; | 144 | goto end; |
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c index 6ea47dacf8..5d70b76f05 100644 --- a/src/lib/libcrypto/asn1/asn_mime.c +++ b/src/lib/libcrypto/asn1/asn_mime.c | |||
@@ -999,7 +999,7 @@ strip_eol(char *linebuf, int *plen) | |||
999 | int len = *plen; | 999 | int len = *plen; |
1000 | char *p, c; | 1000 | char *p, c; |
1001 | int is_eol = 0; | 1001 | int is_eol = 0; |
1002 | p = linebuf + len - 1; | 1002 | |
1003 | for (p = linebuf + len - 1; len > 0; len--, p--) { | 1003 | for (p = linebuf + len - 1; len > 0; len--, p--) { |
1004 | c = *p; | 1004 | c = *p; |
1005 | if (c == '\n') | 1005 | if (c == '\n') |