RT4047: Set reference count earlier
authorFilipe DA SILVA <fdasilvaYY@gmail.com>
Thu, 17 Sep 2015 02:25:31 +0000 (22:25 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 17 Sep 2015 15:58:24 +0000 (11:58 -0400)
commit0e04674e964b905e67e3d215bcf888932c92765f
tree07009b277704aa716f12cab631c1ec46b56ac441
parent20ca916d7db4fe6feada88d0bea1489123339c7c
RT4047: Set reference count earlier

Make sure it's valid very early.

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/asn1/x_pkey.c
ssl/ssl_cert.c
ssl/ssl_lib.c