summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_i2d_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_i2d_fp.c')
-rw-r--r--src/lib/libcrypto/asn1/a_i2d_fp.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/a_i2d_fp.c b/src/lib/libcrypto/asn1/a_i2d_fp.c
index 66c3df68d5..6bd845443c 100644
--- a/src/lib/libcrypto/asn1/a_i2d_fp.c
+++ b/src/lib/libcrypto/asn1/a_i2d_fp.c
@@ -58,14 +58,11 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include "cryptlib.h" 60#include "cryptlib.h"
61#include "buffer.h" 61#include <openssl/buffer.h>
62#include "asn1_mac.h" 62#include <openssl/asn1_mac.h>
63 63
64#ifndef NO_FP_API 64#ifndef NO_FP_API
65int ASN1_i2d_fp(i2d,out,x) 65int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x)
66int (*i2d)();
67FILE *out;
68unsigned char *x;
69 { 66 {
70 BIO *b; 67 BIO *b;
71 int ret; 68 int ret;
@@ -82,10 +79,7 @@ unsigned char *x;
82 } 79 }
83#endif 80#endif
84 81
85int ASN1_i2d_bio(i2d,out,x) 82int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x)
86int (*i2d)();
87BIO *out;
88unsigned char *x;
89 { 83 {
90 char *b; 84 char *b;
91 unsigned char *p; 85 unsigned char *p;