]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/x_pkey.c
Constify d2i, s2i, c2i and r2i functions and other associated
[thirdparty/openssl.git] / crypto / asn1 / x_pkey.c
index f1c6221ac3f1cd3e64f8293547100c1fd76a8168..c88cfd59322447b3b28d5e964639f60d4ace9d5d 100644 (file)
@@ -69,7 +69,7 @@ int i2d_X509_PKEY(X509_PKEY *a, unsigned char **pp)
        return(0);
        }
 
-X509_PKEY *d2i_X509_PKEY(X509_PKEY **a, unsigned char **pp, long length)
+X509_PKEY *d2i_X509_PKEY(X509_PKEY **a, const unsigned char **pp, long length)
        {
        int i;
        M_ASN1_D2I_vars(a,X509_PKEY *,X509_PKEY_new);