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 15:25:38 +0000 (10:25 -0500)
commitcef115ff0ca4255d3decc1dda87c5418a961fd2c
treea43bd4cfac8d4d1e56d721d9b9caa6cad84e6b4b
parent5f21b440681db5aecf29fbd930d1d8c912fc99b4
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)
crypto/objects/obj_dat.c