~ubuntu-branches/ubuntu/feisty/wpasupplicant/feisty

« back to all changes in this revision

Viewing changes to asn1.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2007-04-01 10:53:37 UTC
  • Revision ID: james.westby@ubuntu.com-20070401105337-3dd89n3g8ecdhjsl
Tags: 0.5.7-0ubuntu2
Apply patch from upstream after private email discussion:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=33673d3f43da6f5ec0f0aa5a8245a1617b6eb2fd#patch1
Fixes LP: #98895, #98925

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        const u8 *payload;
54
54
        u8 identifier, class, constructed;
55
55
        unsigned int tag, length;
 
56
        unsigned int context_specific;
56
57
};
57
58
 
58
59
#define ASN1_MAX_OID_LEN 20
65
66
int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
66
67
int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
67
68
                 const u8 **next);
68
 
void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);
69
 
unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len);
70
69
 
71
70
#endif /* ASN1_H */