RT1909: Omit version for v1 certificates
authorGeoff Keating <geoffk@apple.com>
Tue, 9 Sep 2014 18:28:54 +0000 (14:28 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 9 Sep 2014 19:16:42 +0000 (15:16 -0400)
commit8c0d19d8577c9a96b65622bfa92d0affd6bbb4ac
treeb518d5156188115d58160c9c649086a12713fc29
parent283a8fd1aa8b86625bb4e0c7482e07c7b865778e
RT1909: Omit version for v1 certificates

When calling X509_set_version to set v1 certificate, that
should mean that the version number field is omitted.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit 1f18f50c4b0711ebe4a20038d324c0de5dce4512)
crypto/x509/x509_set.c