diff options
Diffstat (limited to 'src/tls/x509v3.c')
-rw-r--r-- | src/tls/x509v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/x509v3.c b/src/tls/x509v3.c index 742af328cf8cc..b51dfcd447320 100644 --- a/src/tls/x509v3.c +++ b/src/tls/x509v3.c @@ -1511,7 +1511,7 @@ struct x509_certificate * x509_certificate_parse(const u8 *buf, size_t len) if (pos + hdr.length < end) { wpa_hexdump(MSG_MSGDUMP, "X509: Ignoring extra data after DER " "encoded certificate", - pos + hdr.length, end - pos + hdr.length); + pos + hdr.length, end - (pos + hdr.length)); end = pos + hdr.length; } |