Compatibility Layer

When wolfSSL_X509_NAME_ENTRY_create_by_txt() needs to make a new ASN.1 object ID, actually store it in the name entry.
This commit is contained in:
John Safranek
2020-10-26 16:10:44 -07:00
parent 9c1049f112
commit 7dbd6102d2

View File

@ -38732,7 +38732,7 @@ err:
}
}
ne->nid = nid;
wolfSSL_OBJ_nid2obj_ex(nid, ne->object);
ne->object = wolfSSL_OBJ_nid2obj_ex(nid, ne->object);
ne->value = wolfSSL_ASN1_STRING_type_new(type);
if (ne->value != NULL) {
wolfSSL_ASN1_STRING_set(ne->value, (const void*)data, dataSz);