components/python/keystoneclient/patches/nopycrypto.patch
branchs11u3-sru
changeset 6035 c9748fcc32de
parent 4072 db0cec748ec0
--- a/components/python/keystoneclient/patches/nopycrypto.patch	Mon May 16 14:46:20 2016 +0200
+++ b/components/python/keystoneclient/patches/nopycrypto.patch	Fri May 20 17:42:29 2016 -0400
@@ -1,8 +1,8 @@
 In-house removal of PyCrypto dependency in keystoneclient. This patch
 is Solaris-specific and not suitable for upstream.
 
---- python-keystoneclient-1.0.0/keystoneclient/middleware/memcache_crypt.py.~1~	2014-12-18 09:37:35.000000000 -0800
-+++ python-keystoneclient-1.0.0/keystoneclient/middleware/memcache_crypt.py	2015-01-31 23:38:16.649757111 -0800
+--- python-keystoneclient-1.3.0/keystoneclient/middleware/memcache_crypt.py.~1~	2015-03-25 14:00:24.000000000 -0600
++++ python-keystoneclient-1.3.0/keystoneclient/middleware/memcache_crypt.py	2015-04-27 17:29:37.082689412 -0600
 @@ -17,7 +17,7 @@
  Utilities for memcache encryption and integrity check.
  
@@ -25,7 +25,7 @@
  except ImportError:
      AES = None
  
-@@ -72,6 +73,13 @@ class CryptoUnavailableError(Exception):
+@@ -72,6 +73,12 @@ class CryptoUnavailableError(Exception):
      pass
  
  
@@ -35,11 +35,10 @@
 +    """
 +    pass
 +
-+
  def assert_crypto_availability(f):
      """Ensure Crypto module is available."""
  
-@@ -131,31 +139,44 @@ def sign_data(key, data):
+@@ -131,31 +138,44 @@ def sign_data(key, data):
      return base64.b64encode(mac)