aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_req.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509_req.c')
-rw-r--r--crypto/x509/x509_req.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c
index b4ad53431e..f70c6ab075 100644
--- a/crypto/x509/x509_req.c
+++ b/crypto/x509/x509_req.c
@@ -188,7 +188,8 @@ STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
STACK_OF(X509_ATTRIBUTE) *sk;
ASN1_TYPE *ext = NULL;
int i;
- unsigned char *p;
+ const unsigned char *p;
+
if ((req == NULL) || (req->req_info == NULL))
return(NULL);
sk=req->req_info->attributes;