[openstack-heat/f19] Fix M2Crypto patch to work correctly

Jeff Peeler jpeeler at fedoraproject.org
Mon Jun 10 19:59:33 UTC 2013


commit 24d1b61ad2fe5a0cbb8b22c561d56de0b5c1320d
Author: Jeff Peeler <jpeeler at redhat.com>
Date:   Mon Jun 10 15:58:19 2013 -0400

    Fix M2Crypto patch to work correctly

 switch-to-using-m2crypto.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/switch-to-using-m2crypto.patch b/switch-to-using-m2crypto.patch
index f4e974f..ff79317 100644
--- a/switch-to-using-m2crypto.patch
+++ b/switch-to-using-m2crypto.patch
@@ -47,7 +47,7 @@ index 81b4c92..01fa353 100644
 +    cipher = M2Crypto.EVP.Cipher(alg='aes_128_cbc',
 +                                 key=cfg.CONF.auth_encryption_key[:32], iv=iv,
 +                                 op=0) # 0 is decode
-+    res = cipher.update(iv) + cipher.final()
++    res = cipher.update(auth[16:]) + cipher.final()
      return res
 diff --git a/tools/pip-requires b/tools/pip-requires
 index d106549..037b8f3 100644


More information about the scm-commits mailing list