diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-22 23:40:01 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-11-14 00:13:08 +0000 |
commit | 699f1635242d509d0e47ca3132d1b5682a6a32b7 (patch) | |
tree | 211c4cb9ae44db6aab2bce36647a54c28b11ba23 /include | |
parent | 748118a838bcb7b920c5e0bf389773544becc71b (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index d9ad95f6d0..8ba055fffc 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -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); |