Fix undefined behaviour when printing the X509 and CRL version
authorKurt Roeckx <kurt@roeckx.be>
Sat, 14 Jan 2017 15:10:25 +0000 (16:10 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 15 Jan 2017 21:21:08 +0000 (22:21 +0100)
commitc2ce477f1f3c0a98802fb087b0cf4b0a99ea2b1d
treedacb484ee7cb72a3d0299cd1f310a61cfa068344
parent68d4bcfd0651c7ea5d37ca52abc0d2e6e6b3bd20
Fix undefined behaviour when printing the X509 and CRL version

Found by oss-fuzz

Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #2231
crypto/x509/t_crl.c
crypto/x509/t_req.c