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:32:52 +0000 (14:32 +0000)
commit45789c2819e1cb93150061ddaa95fe97da2c0cba
treee65f78881b05a1b1de1ac0c97ad78691d40b0999
parentc4fec137617c2002f6f8a76981a47ab79908f628
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)
(cherry picked from commit 0db1fb3fc13c4b1a2b916efbb374f40579b1398f)
apps/ca.c