diff options
author | beck <> | 1999-09-29 04:37:45 +0000 |
---|---|---|
committer | beck <> | 1999-09-29 04:37:45 +0000 |
commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/asn1/a_i2d_fp.c | |
parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/asn1/a_i2d_fp.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_i2d_fp.c | 14 |
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 |
65 | int ASN1_i2d_fp(i2d,out,x) | 65 | int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x) |
66 | int (*i2d)(); | ||
67 | FILE *out; | ||
68 | unsigned 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 | ||
85 | int ASN1_i2d_bio(i2d,out,x) | 82 | int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x) |
86 | int (*i2d)(); | ||
87 | BIO *out; | ||
88 | unsigned char *x; | ||
89 | { | 83 | { |
90 | char *b; | 84 | char *b; |
91 | unsigned char *p; | 85 | unsigned char *p; |