X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/blobdiff_plain/7c6322c43138af50384f4055afc79736b0ec25bf..e191bdcb8e772c038df688c4d50fa7f3c9f61562:/contrib/hostapd/src/tls/asn1.h diff --git a/contrib/hostapd/src/tls/asn1.h b/contrib/hostapd/src/tls/asn1.h index c02ada8278..6342c4cc79 100644 --- a/contrib/hostapd/src/tls/asn1.h +++ b/contrib/hostapd/src/tls/asn1.h @@ -2,14 +2,8 @@ * ASN.1 DER parsing * Copyright (c) 2006, Jouni Malinen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #ifndef ASN1_H @@ -63,6 +57,7 @@ struct asn1_oid { int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr); +int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid); int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next); void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);