Don't leak X509_OBJECT in an error path
authorMatt Caswell <matt@openssl.org>
Tue, 26 Apr 2016 17:25:39 +0000 (18:25 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 13:51:36 +0000 (14:51 +0100)
commit0461b7ea7bd1112c4fa357545fc8a456138ed3af
tree033772062d7ea2e30e18e1a44edb1e2f6099403e
parent6493e4801e9edbe1ad1e256d4ce9cd55c8aa2242
Don't leak X509_OBJECT in an error path

Swap the ordering of some code to avoid a leak in an error path.

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_server.c