diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-03 22:09:02 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 08:20:00 -0400 |
commit | 08275a29c10b23a5f38597d58f823c3ccb9540ab (patch) | |
tree | cbc0d865c0584cd76a060a3ef5ba286f3f20dba4 /doc | |
parent | 0aa25a68c0ce8e8a01de630c121a35a2634ecedc (diff) |
Constify ASN1_TYPE_get, ASN1_STRING_type, ASN1_STRING_to_UTF8, ASN1_TYPE_get_octetstring & co...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/ASN1_STRING_length.pod | 4 | ||||
-rw-r--r-- | doc/crypto/ASN1_TYPE_get.pod | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/crypto/ASN1_STRING_length.pod b/doc/crypto/ASN1_STRING_length.pod index a51d984454..a57de1c093 100644 --- a/doc/crypto/ASN1_STRING_length.pod +++ b/doc/crypto/ASN1_STRING_length.pod @@ -19,9 +19,9 @@ ASN1_STRING utility functions int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len); - int ASN1_STRING_type(ASN1_STRING *x); + int ASN1_STRING_type(const ASN1_STRING *x); - int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in); + int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in); =head1 DESCRIPTION diff --git a/doc/crypto/ASN1_TYPE_get.pod b/doc/crypto/ASN1_TYPE_get.pod index d4233039e8..70c56878b8 100644 --- a/doc/crypto/ASN1_TYPE_get.pod +++ b/doc/crypto/ASN1_TYPE_get.pod @@ -9,7 +9,7 @@ functions #include <openssl/asn1.h> - int ASN1_TYPE_get(ASN1_TYPE *a); + int ASN1_TYPE_get(const ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); |