-
Niels Möller authored
(spki_principal_add_keyspki_principal_add_md5, spki_principal_add_sha1): Initialize alias field. (HASH_MATCH): New macro. (spki_principal_fix_aliases): New function. (spki_principal_by_key): Setup alias pointers if we add a key for which a hash is already known. (spki_principal_free_chain): New function. (spki_5_tuple_init): New function. (spki_5_tuple_fix_aliases): New function. (spki_acl_parse): Call spki_5_tuple_fix_aliases before returning. (format_valid, spki_acl_format): New functions. (spki_process_sequence_no_signatures): Bug fix in looping over the sequence. Call spki_5_tuple_fix_aliases before returning. (spki_date_since_ever): Represent a time far ago. (spki_date_for_ever): Represent a time far into the future. * certificate.h (struct spki_principal): New field, alias. (spki_date_since_ever, spki_date_for_ever): New constant globals. (SPKI_DATE_CMP): New macro. Rev: src/spki/certificate.c:1.17 Rev: src/spki/certificate.h:1.16
84c3921e