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()
1681 PyObject *sn_obj; in _decode_certificate() local1738 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()1739 if (sn_obj == NULL) in _decode_certificate()1741 if (PyDict_SetItemString(retval, "serialNumber", sn_obj) < 0) { in _decode_certificate()1742 Py_DECREF(sn_obj); in _decode_certificate()1745 Py_DECREF(sn_obj); in _decode_certificate()