summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa
diff options
context:
space:
mode:
authorbeck <>2014-05-29 20:21:23 +0000
committerbeck <>2014-05-29 20:21:23 +0000
commitd205a2aecb99564cccfbea61c39ebe3b0ddd7fb7 (patch)
tree0085ebdac711a18932d8d8d531d36f82fce2c8bc /src/lib/libcrypto/rsa
parent6f22007e67d4c2d77b9caea83bc05974d11dbb0d (diff)
downloadopenbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.tar.gz
openbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.tar.bz2
openbsd-d205a2aecb99564cccfbea61c39ebe3b0ddd7fb7.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/rsa')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h2
-rw-r--r--src/lib/libcrypto/rsa/rsa_prn.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 5f269e577a..2b78d58bb6 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -333,9 +333,7 @@ typedef struct rsa_pss_params_st
333 333
334DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS) 334DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
335 335
336#ifndef OPENSSL_NO_FP_API
337int RSA_print_fp(FILE *fp, const RSA *r,int offset); 336int RSA_print_fp(FILE *fp, const RSA *r,int offset);
338#endif
339 337
340#ifndef OPENSSL_NO_BIO 338#ifndef OPENSSL_NO_BIO
341int RSA_print(BIO *bp, const RSA *r,int offset); 339int RSA_print(BIO *bp, const RSA *r,int offset);
diff --git a/src/lib/libcrypto/rsa/rsa_prn.c b/src/lib/libcrypto/rsa/rsa_prn.c
index 224db0fae5..c0e75065f0 100644
--- a/src/lib/libcrypto/rsa/rsa_prn.c
+++ b/src/lib/libcrypto/rsa/rsa_prn.c
@@ -61,7 +61,6 @@
61#include <openssl/rsa.h> 61#include <openssl/rsa.h>
62#include <openssl/evp.h> 62#include <openssl/evp.h>
63 63
64#ifndef OPENSSL_NO_FP_API
65int RSA_print_fp(FILE *fp, const RSA *x, int off) 64int RSA_print_fp(FILE *fp, const RSA *x, int off)
66 { 65 {
67 BIO *b; 66 BIO *b;
@@ -77,7 +76,6 @@ int RSA_print_fp(FILE *fp, const RSA *x, int off)
77 BIO_free(b); 76 BIO_free(b);
78 return(ret); 77 return(ret);
79 } 78 }
80#endif
81 79
82int RSA_print(BIO *bp, const RSA *x, int off) 80int RSA_print(BIO *bp, const RSA *x, int off)
83 { 81 {