summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x_name.c')
-rw-r--r--crypto/x509/x_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x_name.c b/crypto/x509/x_name.c
index 59d6531bf8..b820171b53 100644
--- a/crypto/x509/x_name.c
+++ b/crypto/x509/x_name.c
@@ -542,7 +542,7 @@ int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase)
return 0;
}
-int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder,
+int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder,
size_t *pderlen)
{
/* Make sure encoding is valid */