commit | cff6b4da0d9551011e717fcc8078c5c52880a1ca | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Tue Feb 12 13:13:04 2013 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Tue Feb 12 13:13:04 2013 -0500 |
tree | af645fccbd936f1ed36c870070d4551655c0ef49 | |
parent | 2cc09387e8c3d43370f9c61ca89e16b3c1b5cb16 [diff] [blame] |
Restore HAS_OPENSSL. Reviewed in https://codereview.appspot.com/7323052/.
diff --git a/oauth2client/client.py b/oauth2client/client.py index 3370688..918539a 100644 --- a/oauth2client/client.py +++ b/oauth2client/client.py
@@ -37,10 +37,13 @@ from oauth2client import util from oauth2client.anyjson import simplejson +HAS_OPENSSL = False HAS_CRYPTO = False try: from oauth2client import crypt HAS_CRYPTO = True + if crypt.OpenSSLVerifier is not None: + HAS_OPENSSL = True except ImportError: pass