summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r--src/lib/libcrypto/ec/ec.h4
-rw-r--r--src/lib/libcrypto/ec/eck_prn.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h
index 86f8c6820d..1e0b929304 100644
--- a/src/lib/libcrypto/ec/ec.h
+++ b/src/lib/libcrypto/ec/ec.h
@@ -695,9 +695,7 @@ int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out);
695#ifndef OPENSSL_NO_BIO 695#ifndef OPENSSL_NO_BIO
696int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off); 696int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off);
697#endif 697#endif
698#ifndef OPENSSL_NO_FP_API
699int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); 698int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off);
700#endif
701 699
702 700
703/********************************************************************/ 701/********************************************************************/
@@ -930,7 +928,6 @@ int ECParameters_print(BIO *bp, const EC_KEY *key);
930int EC_KEY_print(BIO *bp, const EC_KEY *key, int off); 928int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
931 929
932#endif 930#endif
933#ifndef OPENSSL_NO_FP_API
934/** Prints out the ec parameters on human readable form. 931/** Prints out the ec parameters on human readable form.
935 * \param fp file descriptor to which the information is printed 932 * \param fp file descriptor to which the information is printed
936 * \param key EC_KEY object 933 * \param key EC_KEY object
@@ -946,7 +943,6 @@ int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
946 */ 943 */
947int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); 944int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
948 945
949#endif
950 946
951#define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x) 947#define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x)
952 948
diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c
index 86107d5142..3f2973e5b6 100644
--- a/src/lib/libcrypto/ec/eck_prn.c
+++ b/src/lib/libcrypto/ec/eck_prn.c
@@ -67,7 +67,6 @@
67#include <openssl/ec.h> 67#include <openssl/ec.h>
68#include <openssl/bn.h> 68#include <openssl/bn.h>
69 69
70#ifndef OPENSSL_NO_FP_API
71int 70int
72ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off) 71ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off)
73{ 72{
@@ -115,7 +114,6 @@ ECParameters_print_fp(FILE * fp, const EC_KEY * x)
115 BIO_free(b); 114 BIO_free(b);
116 return (ret); 115 return (ret);
117} 116}
118#endif
119 117
120int 118int
121EC_KEY_print(BIO * bp, const EC_KEY * x, int off) 119EC_KEY_print(BIO * bp, const EC_KEY * x, int off)