From c150f0d05064e8d14ef9af4047538854e0c27a3c Mon Sep 17 00:00:00 2001 From: tdoe Date: Fri, 18 May 2018 12:12:45 +0200 Subject: [PATCH] fixed missing initializer --- library/x509_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509_create.c b/library/x509_create.c index fa66caeb5..863009651 100644 --- a/library/x509_create.c +++ b/library/x509_create.c @@ -73,7 +73,7 @@ static const x509_attr_descriptor_t x509_attrs[] = { ADD_STRLEN( "generationQualifier" ), MBEDTLS_OID_AT_GENERATION_QUALIFIER, MBEDTLS_ASN1_UTF8_STRING }, { ADD_STRLEN( "domainComponent" ), MBEDTLS_OID_DOMAIN_COMPONENT, MBEDTLS_ASN1_IA5_STRING }, { ADD_STRLEN( "DC" ), MBEDTLS_OID_DOMAIN_COMPONENT, MBEDTLS_ASN1_IA5_STRING }, - { NULL, 0, NULL } + { NULL, 0, NULL, MBEDTLS_ASN1_NULL } }; static const x509_attr_descriptor_t *x509_at_oid_from_name( const char *name, size_t name_len )