[crypto/asn1/x_bignum.c] Explicit test against NULL
authorCesar Pereida Garcia <cesar.pereidagarcia@tut.fi>
Thu, 12 Sep 2019 14:09:51 +0000 (17:09 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Wed, 16 Oct 2019 13:01:58 +0000 (16:01 +0300)
commit0159a1bb41b385a00836e9e7baeadad2f014b788
tree6386115118c1a93d2db8c5e4b9c19a93664dd916
parent4e545c6a256fb1ab08cc5a3aabb00963dac3191b
[crypto/asn1/x_bignum.c] Explicit test against NULL

As a fixup to https://github.com/openssl/openssl/pull/9779 to better
conform to the project code style guidelines, this commit amends the
original changeset to explicitly test against NULL, i.e. writing

```
if (p != NULL)
```

rather than

```
if (!p)
```

(This is a backport of https://github.com/openssl/openssl/pull/9881)

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9882)
crypto/asn1/x_bignum.c