summaryrefslogtreecommitdiff
path: root/usr/src/common/openssl/crypto/asn1/a_bool.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/openssl/crypto/asn1/a_bool.c')
-rw-r--r--usr/src/common/openssl/crypto/asn1/a_bool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/common/openssl/crypto/asn1/a_bool.c b/usr/src/common/openssl/crypto/asn1/a_bool.c
index 24333ea4d5..331acdf053 100644
--- a/usr/src/common/openssl/crypto/asn1/a_bool.c
+++ b/usr/src/common/openssl/crypto/asn1/a_bool.c
@@ -75,10 +75,10 @@ int i2d_ASN1_BOOLEAN(int a, unsigned char **pp)
return(r);
}
-int d2i_ASN1_BOOLEAN(int *a, unsigned char **pp, long length)
+int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length)
{
int ret= -1;
- unsigned char *p;
+ const unsigned char *p;
long len;
int inf,tag,xclass;
int i=0;