The branch master has been updated
via 3f23390b14d76136db840f9973aa4cec68284988 (commit)
from 142463c9375efdcdaa4c504f6aaf5bfd61d5ba99 (commit)
- Log -----------------------------------------------------------------
commit 3f23390b14d76136db840f9973aa4cec68284988
Author: HorimotoYasuhiro <[email protected]>
Date: Mon May 29 20:08:26 2017 +0900
CLA: trivial
Fix coding style
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/3581)
-----------------------------------------------------------------------
Summary of changes:
crypto/x509v3/pcy_data.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/x509v3/pcy_data.c b/crypto/x509v3/pcy_data.c
index cf1d635..757b101 100644
--- a/crypto/x509v3/pcy_data.c
+++ b/crypto/x509v3/pcy_data.c
@@ -17,7 +17,7 @@
void policy_data_free(X509_POLICY_DATA *data)
{
- if (!data)
+ if (data == NULL)
return;
ASN1_OBJECT_free(data->valid_policy);
/* Don't free qualifiers if shared */
@@ -40,11 +40,11 @@ X509_POLICY_DATA *policy_data_new(POLICYINFO *policy,
{
X509_POLICY_DATA *ret;
ASN1_OBJECT *id;
- if (!policy && !cid)
+ if (policy == NULL && cid == NULL)
return NULL;
if (cid) {
id = OBJ_dup(cid);
- if (!id)
+ if (id == NULL)
return NULL;
} else
id = NULL;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits