summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_i2d_fp.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2005-03-31 10:55:55 +0000
committerBen Laurie <ben@openssl.org>2005-03-31 10:55:55 +0000
commit45d10efc354a407467112333714df2dad59c66d1 (patch)
treeae7b88d92ae682bff3f9eca70dbbb0c92b342fb4 /crypto/asn1/a_i2d_fp.c
parentdb3cb0e97a48720505e7fdd9781741d512446ef0 (diff)
Simplicate and add lightness.
Diffstat (limited to 'crypto/asn1/a_i2d_fp.c')
-rw-r--r--crypto/asn1/a_i2d_fp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/asn1/a_i2d_fp.c b/crypto/asn1/a_i2d_fp.c
index 159c05097e..925897c82c 100644
--- a/crypto/asn1/a_i2d_fp.c
+++ b/crypto/asn1/a_i2d_fp.c
@@ -64,8 +64,7 @@
#ifndef NO_OLD_ASN1
#ifndef OPENSSL_NO_FP_API
-int ASN1_i2d_fp(int (*i2d)(void *, unsigned char **), FILE *out,
- void *x)
+int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, void *x)
{
BIO *b;
int ret;
@@ -82,8 +81,7 @@ int ASN1_i2d_fp(int (*i2d)(void *, unsigned char **), FILE *out,
}
#endif
-int ASN1_i2d_bio(int (*i2d)(void *, unsigned char **), BIO *out,
- unsigned char *x)
+int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, unsigned char *x)
{
char *b;
unsigned char *p;