diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-02-26 21:41:47 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-03-10 16:09:44 +0100 |
commit | cfca56dfaee0518c2cd99a9c5cda29ad557380e1 (patch) | |
tree | ef1fcea4a5b97dd3629b6b990e717c9eefab9b65 /doc/internal | |
parent | 7269071e5eb54683353a1d2f8831a4ed03485b86 (diff) |
Fix handling of CMP msg senderKID and improve doc of related CTX functions
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11142)
Diffstat (limited to 'doc/internal')
-rw-r--r-- | doc/internal/man3/ossl_cmp_hdr_init.pod | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/internal/man3/ossl_cmp_hdr_init.pod b/doc/internal/man3/ossl_cmp_hdr_init.pod index 31468a567b..5df7486cb0 100644 --- a/doc/internal/man3/ossl_cmp_hdr_init.pod +++ b/doc/internal/man3/ossl_cmp_hdr_init.pod @@ -5,6 +5,7 @@ ossl_cmp_hdr_set_pvno, ossl_cmp_hdr_get_pvno, ossl_cmp_hdr_get0_sendernonce, +ossl_cmp_general_name_is_NULL_DN, ossl_cmp_hdr_set1_sender, ossl_cmp_hdr_set1_recipient, ossl_cmp_hdr_update_messagetime, @@ -26,6 +27,7 @@ ossl_cmp_hdr_init int ossl_cmp_hdr_get_pvno(const OSSL_CMP_PKIHEADER *hdr); ASN1_OCTET_STRING *ossl_cmp_hdr_get0_sendernonce(const OSSL_CMP_PKIHEADER *hdr); + int ossl_cmp_general_name_is_NULL_DN(GENERAL_NAME *name); int ossl_cmp_hdr_set1_sender(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm); int ossl_cmp_hdr_set1_recipient(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm); @@ -52,6 +54,9 @@ ossl_cmp_hdr_get_pvno() returns the pvno of the given B<hdr> or -1 on error. ossl_cmp_hdr_get0_sendernonce() returns the sender nonce of the given PKIHeader. +ossl_cmp_general_name_is_NULL_DN() determines if the given GENERAL_NAME +is the NULL-DN. + ossl_cmp_hdr_set1_sender() sets the sender field in the given PKIHeader to the given X509 Name value, without consuming the pointer. @@ -107,6 +112,8 @@ ossl_cmp_hdr_get_pvno() returns the pvno of the given B<hdr> or -1 on error. ossl_cmp_hdr_get0_sendernonce() returns the respective nonce. +ossl_cmp_general_name_is_NULL_DN() returns 1 given a NULL-DN, else 0. + All other functions return 1 on success, 0 on error. See the individual functions above. |