the second argument of d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const
PR: 1156 Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>
This commit is contained in:
parent
e84b663a93
commit
0d2848b3ba
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue