Fix use before assignment
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 16 Nov 2016 21:46:25 +0000 (22:46 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Jan 2017 14:29:33 +0000 (14:29 +0000)
commit0db1fb3fc13c4b1a2b916efbb374f40579b1398f
tree9f7d83c32ba74486e122d2e6b0050d4cd82f4567
parentdff70a2b7368e759fae8e608375a0b9f28dce848
Fix use before assignment

 it was getting the SerialNumber of a previous cert.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2272)
apps/ca.c