Move declaration of X509_aux_print() out of #ifndef OPENSSL_NO_STDIO
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 20 Feb 2016 15:23:28 +0000 (15:23 +0000)
committerRich Salz <rsalz@openssl.org>
Mon, 7 Mar 2016 19:51:08 +0000 (14:51 -0500)
This isn't a file access function; it's still present.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/x509.h

index c5f4ecc..fc77886 100644 (file)
@@ -795,11 +795,11 @@ unsigned long X509_NAME_hash_old(X509_NAME *x);
 
 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b);
 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
+int X509_aux_print(BIO *out, X509 *x, int indent);
 # ifndef OPENSSL_NO_STDIO
 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,