diff options
| author | beck <> | 2014-05-29 20:21:23 +0000 |
|---|---|---|
| committer | beck <> | 2014-05-29 20:21:23 +0000 |
| commit | f60b3b3365842d8869513a7e36981671cd726939 (patch) | |
| tree | 0085ebdac711a18932d8d8d531d36f82fce2c8bc /src/lib/libcrypto/asn1/a_strex.c | |
| parent | dc6328fe23d92fbfdbeb94ca011ea0d7a563935f (diff) | |
| download | openbsd-f60b3b3365842d8869513a7e36981671cd726939.tar.gz openbsd-f60b3b3365842d8869513a7e36981671cd726939.tar.bz2 openbsd-f60b3b3365842d8869513a7e36981671cd726939.zip | |
Everything sane has stdio, and FILE *. we don't need ifdefs for this.
ok to firebomb from tedu@
Diffstat (limited to 'src/lib/libcrypto/asn1/a_strex.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_strex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index 684e933c4f..dcdd9d0f14 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
| @@ -601,7 +601,6 @@ X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) | |||
| 601 | return do_name_ex(send_bio_chars, out, nm, indent, flags); | 601 | return do_name_ex(send_bio_chars, out, nm, indent, flags); |
| 602 | } | 602 | } |
| 603 | 603 | ||
| 604 | #ifndef OPENSSL_NO_FP_API | ||
| 605 | int | 604 | int |
| 606 | X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) | 605 | X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) |
| 607 | { | 606 | { |
| @@ -617,7 +616,6 @@ X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) | |||
| 617 | } | 616 | } |
| 618 | return do_name_ex(send_fp_chars, fp, nm, indent, flags); | 617 | return do_name_ex(send_fp_chars, fp, nm, indent, flags); |
| 619 | } | 618 | } |
| 620 | #endif | ||
| 621 | 619 | ||
| 622 | int | 620 | int |
| 623 | ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) | 621 | ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) |
| @@ -625,13 +623,11 @@ ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) | |||
| 625 | return do_print_ex(send_bio_chars, out, flags, str); | 623 | return do_print_ex(send_bio_chars, out, flags, str); |
| 626 | } | 624 | } |
| 627 | 625 | ||
| 628 | #ifndef OPENSSL_NO_FP_API | ||
| 629 | int | 626 | int |
| 630 | ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) | 627 | ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) |
| 631 | { | 628 | { |
| 632 | return do_print_ex(send_fp_chars, fp, flags, str); | 629 | return do_print_ex(send_fp_chars, fp, flags, str); |
| 633 | } | 630 | } |
| 634 | #endif | ||
| 635 | 631 | ||
| 636 | /* Utility function: convert any string type to UTF8, returns number of bytes | 632 | /* Utility function: convert any string type to UTF8, returns number of bytes |
| 637 | * in output string or a negative error code | 633 | * in output string or a negative error code |
