hx509: Use NULL pointer constant
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Jeffrey Altman

parent
e9bc20f5da
commit
df6c33ff1e
@@ -442,7 +442,7 @@ hx509_ca_tbs_set_from_csr(hx509_context context,
|
||||
hx509_request req)
|
||||
{
|
||||
hx509_san_type san_type;
|
||||
heim_oid oid = { 0, 0 };
|
||||
heim_oid oid = { 0, NULL };
|
||||
KeyUsage ku;
|
||||
size_t i;
|
||||
char *s = NULL;
|
||||
@@ -2677,7 +2677,7 @@ set_template(hx509_context context,
|
||||
size_t i;
|
||||
|
||||
for (i = 0; ret == 0 && ekus[i]; i++) {
|
||||
heim_oid oid = { 0, 0 };
|
||||
heim_oid oid = { 0, NULL };
|
||||
|
||||
if ((ret = der_find_or_parse_heim_oid(ekus[i], ".", &oid)) == 0)
|
||||
ret = hx509_ca_tbs_add_eku(context, tbs, &oid);
|
||||
|
@@ -925,7 +925,7 @@ hx509_cms_verify_signed_ext(hx509_context context,
|
||||
}
|
||||
|
||||
for (found_valid_sig = 0, i = 0; i < sd.signerInfos.len; i++) {
|
||||
heim_octet_string signed_data = { 0, 0 };
|
||||
heim_octet_string signed_data = { 0, NULL };
|
||||
const heim_oid *match_oid;
|
||||
heim_oid decode_oid;
|
||||
|
||||
|
Reference in New Issue
Block a user