Lines Matching refs:peer_alt_names
1235 PyObject *peer_alt_names = Py_None; in _get_peer_alt_names() local
1245 return peer_alt_names; in _get_peer_alt_names()
1257 if (peer_alt_names == Py_None) { in _get_peer_alt_names()
1258 peer_alt_names = PyList_New(0); in _get_peer_alt_names()
1259 if (peer_alt_names == NULL) in _get_peer_alt_names()
1413 if (PyList_Append(peer_alt_names, t) < 0) { in _get_peer_alt_names()
1422 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1423 v = PyList_AsTuple(peer_alt_names); in _get_peer_alt_names()
1424 Py_DECREF(peer_alt_names); in _get_peer_alt_names()
1427 return peer_alt_names; in _get_peer_alt_names()
1435 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1436 Py_XDECREF(peer_alt_names); in _get_peer_alt_names()
1563 PyObject *peer_alt_names = NULL; in _decode_certificate() local
1668 peer_alt_names = _get_peer_alt_names(certificate); in _decode_certificate()
1669 if (peer_alt_names == NULL) in _decode_certificate()
1671 else if (peer_alt_names != Py_None) { in _decode_certificate()
1673 peer_alt_names) < 0) { in _decode_certificate()
1674 Py_DECREF(peer_alt_names); in _decode_certificate()
1677 Py_DECREF(peer_alt_names); in _decode_certificate()