diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-03-31 01:11:06 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-03-31 13:36:54 +0100 |
commit | f10726c8bb4e09bf53d0c40b90c1a2cb434672d4 (patch) | |
tree | c03009237acfb4fe00e334ffac244644543a0970 /src/include/ipxe/asn1.h | |
parent | f1c5f86eef59c24bd8894edeea9200b035bd3f99 (diff) | |
download | ipxe-f10726c8bb4e09bf53d0c40b90c1a2cb434672d4.tar.gz |
[crypto] Add support for subjectAltName and wildcard certificates
Originally-implemented-by: Alex Chernyakhovsky <achernya@google.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/asn1.h')
-rw-r--r-- | src/include/ipxe/asn1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/asn1.h b/src/include/ipxe/asn1.h index 3e73b59c7..d12524ddb 100644 --- a/src/include/ipxe/asn1.h +++ b/src/include/ipxe/asn1.h @@ -222,6 +222,11 @@ struct asn1_builder_header { ASN1_OID_SINGLE ( 5 ), ASN1_OID_SINGLE ( 7 ), \ ASN1_OID_SINGLE ( 3 ), ASN1_OID_SINGLE ( 9 ) +/** ASN.1 OID for id-ce-subjectAltName (2.5.29.17) */ +#define ASN1_OID_SUBJECTALTNAME \ + ASN1_OID_INITIAL ( 2, 5 ), ASN1_OID_SINGLE ( 29 ), \ + ASN1_OID_SINGLE ( 17 ) + /** Define an ASN.1 cursor containing an OID */ #define ASN1_OID_CURSOR( oid_value ) { \ .data = oid_value, \ |