diff options
author | Adam Young <ayoung@redhat.com> | 2012-07-30 11:11:47 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2012-07-30 11:11:47 -0400 |
commit | dada197a4836c94c6a02b51ae35aed256cad9ac4 (patch) | |
tree | a016bef0e10d553a5d3477837adeb0beb928bdc2 /keystone/middleware | |
parent | bcc0f6d6fc1f674bc4b340d041b28bc1cfddf66a (diff) | |
download | keystone-dada197a4836c94c6a02b51ae35aed256cad9ac4.tar.gz keystone-dada197a4836c94c6a02b51ae35aed256cad9ac4.tar.xz keystone-dada197a4836c94c6a02b51ae35aed256cad9ac4.zip |
Test for Cert by name
Fixes a typo in checking if cert file exists.
Bug 1030912
Change-Id: Iea783aaa6bc425a17799d40cd6b378d90ebe6faf
Diffstat (limited to 'keystone/middleware')
-rw-r--r-- | keystone/middleware/auth_token.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/middleware/auth_token.py b/keystone/middleware/auth_token.py index c82e5ef5..e042dbb1 100644 --- a/keystone/middleware/auth_token.py +++ b/keystone/middleware/auth_token.py @@ -565,8 +565,8 @@ class AuthProtocol(object): time=self.token_cache_time) def cert_file_missing(self, called_proc_err, file_name): - return (called_proc_err.output.find(self.signing_cert_file_name) - and not os.path.exists(self.signing_cert_file_name)) + return (called_proc_err.output.find(file_name) + and not os.path.exists(file_name)) def verify_uuid_token(self, user_token, retry=True): """Authenticate user token with keystone. |