diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:50:48 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:59:04 +0100 |
commit | 8900f3e3982a016a25ad87a2270446e780038ec9 (patch) | |
tree | 686da17998e72e5a54c75bb511459e55bc5344f9 /doc | |
parent | 5e6089f0eba7b12f21b3237c57f2bd56049eb1ae (diff) |
Convert X509* functions to use const getters
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/X509V3_get_d2i.pod | 2 | ||||
-rw-r--r-- | doc/crypto/X509_get0_signature.pod | 2 | ||||
-rw-r--r-- | doc/crypto/X509_get0_uids.pod | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/doc/crypto/X509V3_get_d2i.pod b/doc/crypto/X509V3_get_d2i.pod index 63e27dd52d..9375a8edb5 100644 --- a/doc/crypto/X509V3_get_d2i.pod +++ b/doc/crypto/X509V3_get_d2i.pod @@ -32,7 +32,7 @@ X509_REVOKED_add1_ext_i2d - X509 extension decode and encode functions int X509_REVOKED_add1_ext_i2d(X509_REVOKED *r, int nid, void *value, int crit, unsigned long flags); - STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x); + const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x); const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl); STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(const X509_REVOKED *r); diff --git a/doc/crypto/X509_get0_signature.pod b/doc/crypto/X509_get0_signature.pod index 93e105beb7..86b0b40f12 100644 --- a/doc/crypto/X509_get0_signature.pod +++ b/doc/crypto/X509_get0_signature.pod @@ -13,7 +13,7 @@ X509_CRL_get_signature_nid - signature information void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, const X509 *x); int X509_get_signature_nid(const X509 *x); - X509_ALGOR *X509_get0_tbs_sigalg(X509 *x); + const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x); void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, const X509_REQ *crl); diff --git a/doc/crypto/X509_get0_uids.pod b/doc/crypto/X509_get0_uids.pod index ccdded6850..4eab26e23f 100644 --- a/doc/crypto/X509_get0_uids.pod +++ b/doc/crypto/X509_get0_uids.pod @@ -8,7 +8,8 @@ X509_get0_uids - get certificate unique identifiers #include <openssl/x509.h> - void X509_get0_uids(ASN1_BIT_STRING **piuid, ASN1_BIT_STRING **psuid, X509 *x); + void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, + const ASN1_BIT_STRING **psuid); =head1 DESCRIPTION |