projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EVP_PKEY_CTX utility functions.
[oweals/openssl.git]
/
crypto
/
x509v3
/
pcy_data.c
diff --git
a/crypto/x509v3/pcy_data.c
b/crypto/x509v3/pcy_data.c
index bb2760abc2ec95b7a45e78a6ffb006a5e1b043e1..03631d7a10358a384cf7ecabcb3ec0ba11dc2bc8 100644
(file)
--- a/
crypto/x509v3/pcy_data.c
+++ b/
crypto/x509v3/pcy_data.c
@@
-1,4
+1,3
@@
-/* pcy_data.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2004.
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2004.
@@
-99,10
+98,10
@@
X509_POLICY_DATA *policy_data_new(POLICYINFO *policy,
} else
id = NULL;
ret = OPENSSL_zalloc(sizeof(*ret));
} else
id = NULL;
ret = OPENSSL_zalloc(sizeof(*ret));
- if (
!ret
)
+ if (
ret == NULL
)
return NULL;
ret->expected_policy_set = sk_ASN1_OBJECT_new_null();
return NULL;
ret->expected_policy_set = sk_ASN1_OBJECT_new_null();
- if (
!ret->expected_policy_set
) {
+ if (
ret->expected_policy_set == NULL
) {
OPENSSL_free(ret);
ASN1_OBJECT_free(id);
return NULL;
OPENSSL_free(ret);
ASN1_OBJECT_free(id);
return NULL;