Lines Matching refs:peer_alt_names
918 PyObject *peer_alt_names = Py_None; in _get_peer_alt_names() local
936 return peer_alt_names; in _get_peer_alt_names()
945 if (peer_alt_names == Py_None) { in _get_peer_alt_names()
946 peer_alt_names = PyList_New(0); in _get_peer_alt_names()
947 if (peer_alt_names == NULL) in _get_peer_alt_names()
1121 if (PyList_Append(peer_alt_names, t) < 0) { in _get_peer_alt_names()
1130 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1131 v = PyList_AsTuple(peer_alt_names); in _get_peer_alt_names()
1132 Py_DECREF(peer_alt_names); in _get_peer_alt_names()
1135 return peer_alt_names; in _get_peer_alt_names()
1143 if (peer_alt_names != Py_None) { in _get_peer_alt_names()
1144 Py_XDECREF(peer_alt_names); in _get_peer_alt_names()
1267 PyObject *peer_alt_names = NULL; in _decode_certificate() local
1368 peer_alt_names = _get_peer_alt_names(certificate); in _decode_certificate()
1369 if (peer_alt_names == NULL) in _decode_certificate()
1371 else if (peer_alt_names != Py_None) { in _decode_certificate()
1373 peer_alt_names) < 0) { in _decode_certificate()
1374 Py_DECREF(peer_alt_names); in _decode_certificate()
1377 Py_DECREF(peer_alt_names); in _decode_certificate()