the second argument of d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const
authorNils Larsch <nils@openssl.org>
Wed, 13 Jul 2005 22:01:33 +0000 (22:01 +0000)
committerNils Larsch <nils@openssl.org>
Wed, 13 Jul 2005 22:01:33 +0000 (22:01 +0000)
PR: 1156
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>

doc/crypto/d2i_X509.pod
doc/crypto/d2i_X509_CRL.pod
doc/crypto/d2i_X509_REQ.pod

index e8e946e18a084a4d13aebd0addd7ca1c472b6c43..5bfa18afbb3d965f3073925029ccee9a47ceea40 100644 (file)
@@ -9,7 +9,7 @@ i2d_X509_fp - X509 encode and decode functions
 
  #include <openssl/x509.h>
 
- X509 *d2i_X509(X509 **px, unsigned char **in, int len);
+ X509 *d2i_X509(X509 **px, const unsigned char **in, int len);
  int i2d_X509(X509 *x, unsigned char **out);
 
  X509 *d2i_X509_bio(BIO *bp, X509 **x);
index 06c5b23c090a00df4b650c1c5c09a6a9b4bca013..e7295a5d6153ee1b472921249609519e1d3f8fdb 100644 (file)
@@ -9,7 +9,7 @@ i2d_X509_CRL_bio, i2d_X509_CRL_fp - PKCS#10 certificate request functions.
 
  #include <openssl/x509.h>
 
- X509_CRL *d2i_X509_CRL(X509_CRL **a, unsigned char **pp, long length);
+ X509_CRL *d2i_X509_CRL(X509_CRL **a, const unsigned char **pp, long length);
  int i2d_X509_CRL(X509_CRL *a, unsigned char **pp);
 
  X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **x);
index be4ad68257e0642b0d511a5cbaa388ff04562849..ae32a3891d6752d200ffb429a211a391c35f9fd0 100644 (file)
@@ -9,7 +9,7 @@ i2d_X509_REQ_bio, i2d_X509_REQ_fp - PKCS#10 certificate request functions.
 
  #include <openssl/x509.h>
 
- X509_REQ *d2i_X509_REQ(X509_REQ **a, unsigned char **pp, long length);
+ X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length);
  int i2d_X509_REQ(X509_REQ *a, unsigned char **pp);
 
  X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **x);