diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 23:31:43 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 23:31:43 +0200 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/x509v3/v3_bitst.c | |
parent | Finish off support for Certificate Policies extension. (diff) | |
download | openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.xz openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.zip |
Change functions to ANSI C.
Diffstat (limited to 'crypto/x509v3/v3_bitst.c')
-rw-r--r-- | crypto/x509v3/v3_bitst.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/crypto/x509v3/v3_bitst.c b/crypto/x509v3/v3_bitst.c index 67d865f180..b3b6c49af9 100644 --- a/crypto/x509v3/v3_bitst.c +++ b/crypto/x509v3/v3_bitst.c @@ -101,15 +101,13 @@ static BIT_STRING_BITNAME key_usage_type_table[] = { X509V3_EXT_METHOD v3_nscert = EXT_BITSTRING(NID_netscape_cert_type, ns_cert_type_table); X509V3_EXT_METHOD v3_key_usage = EXT_BITSTRING(NID_key_usage, key_usage_type_table); -static ASN1_BIT_STRING *asn1_bit_string_new() +static ASN1_BIT_STRING *asn1_bit_string_new(void) { return ASN1_BIT_STRING_new(); } -static STACK *i2v_ASN1_BIT_STRING(method, bits, ret) -X509V3_EXT_METHOD *method; -ASN1_BIT_STRING *bits; -STACK *ret; +static STACK *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, + ASN1_BIT_STRING *bits, STACK *ret) { BIT_STRING_BITNAME *bnam; for(bnam =(BIT_STRING_BITNAME *)method->usr_data; bnam->lname; bnam++) { @@ -119,10 +117,8 @@ STACK *ret; return ret; } -static ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(method, ctx, nval) -X509V3_EXT_METHOD *method; -X509V3_CTX *ctx; -STACK *nval; +static ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, + X509V3_CTX *ctx, STACK *nval) { CONF_VALUE *val; ASN1_BIT_STRING *bs; |