From 4b618848f9beb8271f24883694e097caa70013c0 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 14 Jan 2015 15:57:28 -0500 Subject: Cleanup OPENSSL_NO_xxx, part 1 OPENSSL_NO_RIPEMD160, OPENSSL_NO_RIPEMD merged into OPENSSL_NO_RMD160 OPENSSL_NO_FP_API merged into OPENSSL_NO_STDIO Two typo's on #endif comments fixed: OPENSSL_NO_ECB fixed to OPENSSL_NO_OCB OPENSSL_NO_HW_SureWare fixed to OPENSSL_NO_HW_SUREWARE Reviewed-by: Richard Levitte --- crypto/asn1/a_d2i_fp.c | 4 ++-- crypto/asn1/a_i2d_fp.c | 4 ++-- crypto/asn1/a_strex.c | 4 ++-- crypto/asn1/asn1.h | 2 +- crypto/asn1/t_crl.c | 2 +- crypto/asn1/t_req.c | 2 +- crypto/asn1/t_x509.c | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) (limited to 'crypto/asn1') diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 52b2ebdb63..776f26e08f 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -65,7 +65,7 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb); #ifndef NO_OLD_ASN1 -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x) { @@ -120,7 +120,7 @@ err: return(ret); } -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) { BIO *b; diff --git a/crypto/asn1/a_i2d_fp.c b/crypto/asn1/a_i2d_fp.c index a3ad76d356..17269505a2 100644 --- a/crypto/asn1/a_i2d_fp.c +++ b/crypto/asn1/a_i2d_fp.c @@ -63,7 +63,7 @@ #ifndef NO_OLD_ASN1 -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, void *x) { BIO *b; @@ -116,7 +116,7 @@ int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, unsigned char *x) #endif -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x) { BIO *b; diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c index 8fb4193bc0..4fc8983892 100644 --- a/crypto/asn1/a_strex.c +++ b/crypto/asn1/a_strex.c @@ -523,7 +523,7 @@ int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) return do_name_ex(send_bio_chars, out, nm, indent, flags); } -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) { if(flags == XN_FLAG_COMPAT) @@ -545,7 +545,7 @@ int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) return do_print_ex(send_bio_chars, out, flags, str); } -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) { return do_print_ex(send_fp_chars, fp, flags, str); diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index 9adee694b0..25b703449f 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -980,7 +980,7 @@ void *ASN1_item_dup(const ASN1_ITEM *it, void *x); #define M_ASN1_free_of(x, type) \ ASN1_item_free(CHECKED_PTR_OF(type, x), ASN1_ITEM_rptr(type)) -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); #define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c index c61169208a..db33cd8c52 100644 --- a/crypto/asn1/t_crl.c +++ b/crypto/asn1/t_crl.c @@ -64,7 +64,7 @@ #include #include -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int X509_CRL_print_fp(FILE *fp, X509_CRL *x) { BIO *b; diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c index 5d03db7a11..741158d8ca 100644 --- a/crypto/asn1/t_req.c +++ b/crypto/asn1/t_req.c @@ -70,7 +70,7 @@ #include #endif -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int X509_REQ_print_fp(FILE *fp, X509_REQ *x) { BIO *b; diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index 111ea5aaac..89115c7f19 100644 --- a/crypto/asn1/t_x509.c +++ b/crypto/asn1/t_x509.c @@ -74,7 +74,7 @@ #include #include "asn1_locl.h" -#ifndef OPENSSL_NO_FP_API +#ifndef OPENSSL_NO_STDIO int X509_print_fp(FILE *fp, X509 *x) { return X509_print_ex_fp(fp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); -- cgit v1.2.3