diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/asn1/a_set.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/asn1/a_set.c')
-rw-r--r-- | crypto/asn1/a_set.c | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/crypto/asn1/a_set.c b/crypto/asn1/a_set.c index 34000ecf7d..406c68face 100644 --- a/crypto/asn1/a_set.c +++ b/crypto/asn1/a_set.c @@ -84,14 +84,9 @@ static int SetBlobCmp(const void *elem1, const void *elem2 ) return b1->cbData-b2->cbData; } -int i2d_ASN1_SET(a,pp,func,ex_tag,ex_class,is_set) -STACK *a; -unsigned char **pp; -int (*func)(); -int ex_tag; -int ex_class; -int is_set; /* if TRUE, then sort the contents (i.e. it isn't a SEQUENCE) */ - +/* int is_set: if TRUE, then sort the contents (i.e. it isn't a SEQUENCE) */ +int i2d_ASN1_SET(STACK *a, unsigned char **pp, int (*func)(), int ex_tag, + int ex_class, int is_set) { int ret=0,r; int i; @@ -158,14 +153,8 @@ SetBlob return(r); } -STACK *d2i_ASN1_SET(a,pp,length,func,free_func,ex_tag,ex_class) -STACK **a; -unsigned char **pp; -long length; -char *(*func)(); -void (*free_func)(); -int ex_tag; -int ex_class; +STACK *d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, + char *(*func)(), void (*free_func)(), int ex_tag, int ex_class) { ASN1_CTX c; STACK *ret=NULL; |