diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-31 10:55:55 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-31 10:55:55 +0000 |
commit | 45d10efc354a407467112333714df2dad59c66d1 (patch) | |
tree | ae7b88d92ae682bff3f9eca70dbbb0c92b342fb4 /crypto/asn1/a_d2i_fp.c | |
parent | db3cb0e97a48720505e7fdd9781741d512446ef0 (diff) |
Simplicate and add lightness.
Diffstat (limited to 'crypto/asn1/a_d2i_fp.c')
-rw-r--r-- | crypto/asn1/a_d2i_fp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 40baeb16ad..1356a0a260 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -66,9 +66,7 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb); #ifndef NO_OLD_ASN1 #ifndef OPENSSL_NO_FP_API -void *ASN1_d2i_fp(void *(*xnew)(void), - void *(*d2i)(void **,const unsigned char **,long), FILE *in, - void **x) +void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x) { BIO *b; void *ret; @@ -85,9 +83,7 @@ void *ASN1_d2i_fp(void *(*xnew)(void), } #endif -char *ASN1_d2i_bio(void *(*xnew)(void), - void *(*d2i)(void **,const unsigned char **,long), BIO *in, - void **x) +void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x) { BUF_MEM *b = NULL; const unsigned char *p; |