]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/dashboard: fix segfault when importing dm.xmlsec.binding
authorKefu Chai <kchai@redhat.com>
Fri, 16 Nov 2018 17:25:47 +0000 (01:25 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 16 Nov 2018 17:25:50 +0000 (01:25 +0800)
commitaf90a5fe618d96869ca7691c6b91ca0e7824c5fb
treefbea853883c8aa77d85fa33d602fb83ebc405e62
parent01409a542ce3bb7758789c80be162a52bad4ba3a
test/dashboard: fix segfault when importing dm.xmlsec.binding

python-saml depends on dm.xmlsec.binding which is a python binding of
xmlsec C library. but without -DXMLSEC_NO_SIZE_T the compiled
dm.xmlsec.binding segfaults when `import dm.xmlsec.binding`. see
https://github.com/onelogin/python-saml/issues/30 and
https://github.com/4teamwork/ftw.saml2auth/issues/3 .

in long term, we might want to switch to python-saml, see
http://tracker.ceph.com/issues/37081

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/tox.ini