set dynamic flag in ASN1_OBJECT_new

This commit is contained in:
Takashi Kojo 2018-07-22 11:43:35 +09:00 committed by Go Hosohara
parent 9ae3ccb3ba
commit 511b59cf73

View File

@ -15489,6 +15489,7 @@ WOLFSSL_ASN1_OBJECT* wolfSSL_ASN1_OBJECT_new(void)
XMEMSET(obj, 0, sizeof(WOLFSSL_ASN1_OBJECT));
obj->d.ia5 = &(obj->d.ia5_internal);
obj->dynamic |= WOLFSSL_ASN1_DYNAMIC;
return obj;
}