Alon Bar-Lev has uploaded a new change for review. Change subject: bootstrap: use alternate method for verify certificate ......................................................................
bootstrap: use alternate method for verify certificate M2Crypto at python-2.6 issues deprecation warning for current method of acquiring certificate chain. Use an alternate method. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=901470 Change-Id: I3bf1555888f072347f2f2918fc63be3787856083 Signed-off-by: Alon Bar-Lev <[email protected]> --- M vdsm_reg/deployUtil.py.in 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/11204/1 diff --git a/vdsm_reg/deployUtil.py.in b/vdsm_reg/deployUtil.py.in index 4dd9075..f16db45 100644 --- a/vdsm_reg/deployUtil.py.in +++ b/vdsm_reg/deployUtil.py.in @@ -1676,8 +1676,8 @@ # depth: certificate chain = {} - def verify(ssl_ctx_ptr, x509_ptr, errnum, errdepth, ok): - chain[errdepth] = X509.X509(x509=x509_ptr).as_pem() + def verify(ok, store): + chain[store.get_error_depth()] = store.get_current_cert().as_pem() return True def check_ignore(*args, **kw): -- To view, visit http://gerrit.ovirt.org/11204 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3bf1555888f072347f2f2918fc63be3787856083 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
