_assert(cdattr != NULL);
_scope({ APPLE_CDATTR_free(cdattr); });
- static auto nid(OBJ_create("1.2.840.113635.100.9.2", "", ""));
+ static auto nid(OBJ_create("1.2.840.113635.100.9.2", "apple-2", "Apple 2"));
cdattr->object = OBJ_nid2obj(nid);
for (Algorithm *pointer : GetAlgorithms()) {
// XXX: move the "cdhashes" plist code to here and remove xml argument
Octet string(xml);
- static auto nid(OBJ_create("1.2.840.113635.100.9.1", "", ""));
+ static auto nid(OBJ_create("1.2.840.113635.100.9.1", "apple-1", "Apple 1"));
auto attribute(X509_ATTRIBUTE_create(nid, V_ASN1_OCTET_STRING, string));
_assert(attribute != NULL);
string.release();