From 08275a29c10b23a5f38597d58f823c3ccb9540ab Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Sun, 3 Jul 2016 22:09:02 +0200 Subject: Constify ASN1_TYPE_get, ASN1_STRING_type, ASN1_STRING_to_UTF8, ASN1_TYPE_get_octetstring & co... Reviewed-by: Matt Caswell Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1300) --- doc/crypto/ASN1_STRING_length.pod | 4 ++-- doc/crypto/ASN1_TYPE_get.pod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') 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 - 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); -- cgit v1.2.3