]> granicus.if.org Git - curl/commit
x509asn1: suppress left shift on signed value
authorPatrick Monnerat <patrick@monnerat.net>
Sat, 27 Oct 2018 13:04:50 +0000 (15:04 +0200)
committerPatrick Monnerat <patrick@monnerat.net>
Sat, 27 Oct 2018 13:04:50 +0000 (15:04 +0200)
commitc335b7f1f7de3b49cb886c3ae12a0384e293832f
treefb363f0920b252a60a29304d30ed32a8a1e2520a
parent3793761a3777095d643e9f2da951615e1178782c
x509asn1: suppress left shift on signed value

Use an unsigned variable: as the signed operation behavior is undefined,
this change silents clang-tidy about it.

Ref: https://github.com/curl/curl/pull/3163
Reported-By: Daniel Stenberg
lib/x509asn1.c