Lines Matching defs:obj
33 ASN1_OBJECT *obj;
35 obj = OBJ_nid2obj(nid);
36 if (obj == NULL)
38 return X509v3_get_ext_by_OBJ(x, obj, lastpos);
42 const ASN1_OBJECT *obj, int lastpos)
55 if (OBJ_cmp(ex->object, obj) == 0)
143 ASN1_OBJECT *obj;
146 obj = OBJ_nid2obj(nid);
147 if (obj == NULL) {
151 ret = X509_EXTENSION_create_by_OBJ(ex, obj, crit, data);
153 ASN1_OBJECT_free(obj);
158 const ASN1_OBJECT *obj, int crit,
171 if (!X509_EXTENSION_set_object(ret, obj))
187 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj)
189 if ((ex == NULL) || (obj == NULL))
192 ex->object = OBJ_dup(obj);