Fix an incoherent test.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Fri, 8 Dec 2017 15:25:38 +0000 (10:25 -0500)
committerRich Salz <rsalz@openssl.org>
Fri, 8 Dec 2017 16:19:37 +0000 (11:19 -0500)
commit6ebcdb354ebcc6a54fb49d4eff8d20f114e43313
treee00dc07273e502ffc1e538a8155503802315e50b
parentea4e868a3c6872f4944dd5469518f8b10ee3432c
Fix an incoherent test.

Pointer 'o' is set inside a local buffer, so it can't be NULL.
Also fix coding style and add comments

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4754)
(cherry picked from commit cef115ff0ca4255d3decc1dda87c5418a961fd2c)
crypto/objects/obj_dat.c