Use accessors for X509_print_ex().
Print certificate details using accessor functions. Since X509_CERT_AUX_print is only used in one place and can't be used by applications (it uses an internal X509_CERT_AUX structure) this has been removed and replaced by a function X509_aux_print which takes an X509 pointer instead. Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
@@ -810,6 +810,7 @@ int X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
|
||||
int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag,
|
||||
unsigned long cflag);
|
||||
int X509_print_fp(FILE *bp, X509 *x);
|
||||
int X509_aux_print(BIO *out, X509 *x, int indent);
|
||||
int X509_CRL_print_fp(FILE *bp, X509_CRL *x);
|
||||
int X509_REQ_print_fp(FILE *bp, X509_REQ *req);
|
||||
int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent,
|
||||
@@ -823,7 +824,6 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag,
|
||||
unsigned long cflag);
|
||||
int X509_print(BIO *bp, X509 *x);
|
||||
int X509_ocspid_print(BIO *bp, X509 *x);
|
||||
int X509_CERT_AUX_print(BIO *bp, X509_CERT_AUX *x, int indent);
|
||||
int X509_CRL_print(BIO *bp, X509_CRL *x);
|
||||
int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag,
|
||||
unsigned long cflag);
|
||||
|
||||
Reference in New Issue
Block a user