Lines Matching refs:peer_alt_names
1303 PyObject *peer_alt_names = Py_None; in _get_peer_alt_names() local
1313 return peer_alt_names; in _get_peer_alt_names()
1325 if (peer_alt_names == Py_None) { in _get_peer_alt_names()
1326 peer_alt_names = PyList_New(0); in _get_peer_alt_names()
1327 if (peer_alt_names == NULL) in _get_peer_alt_names()
1528 if (PyList_Append(peer_alt_names, t) < 0) { in _get_peer_alt_names()
1537 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1538 v = PyList_AsTuple(peer_alt_names); in _get_peer_alt_names()
1539 Py_DECREF(peer_alt_names); in _get_peer_alt_names()
1542 return peer_alt_names; in _get_peer_alt_names()
1550 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1551 Py_XDECREF(peer_alt_names); in _get_peer_alt_names()
1678 PyObject *peer_alt_names = NULL; in _decode_certificate() local
1783 peer_alt_names = _get_peer_alt_names(certificate); in _decode_certificate()
1784 if (peer_alt_names == NULL) in _decode_certificate()
1786 else if (peer_alt_names != Py_None) { in _decode_certificate()
1788 peer_alt_names) < 0) { in _decode_certificate()
1789 Py_DECREF(peer_alt_names); in _decode_certificate()
1792 Py_DECREF(peer_alt_names); in _decode_certificate()