Searched refs:sn_obj (Results 1 – 2 of 2) sorted by relevance
1270 PyObject *sn_obj; in _decode_certificate() local1323 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()1324 if (sn_obj == NULL) in _decode_certificate()1326 if (PyDict_SetItemString(retval, "serialNumber", sn_obj) < 0) { in _decode_certificate()1327 Py_DECREF(sn_obj); in _decode_certificate()1330 Py_DECREF(sn_obj); in _decode_certificate()
1566 PyObject *sn_obj; in _decode_certificate() local1623 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()1624 if (sn_obj == NULL) in _decode_certificate()1626 if (PyDict_SetItemString(retval, "serialNumber", sn_obj) < 0) { in _decode_certificate()1627 Py_DECREF(sn_obj); in _decode_certificate()1630 Py_DECREF(sn_obj); in _decode_certificate()