google/oauth2client — pull request #56 by craigcitro (2014-09-29 20:18:51+00:00)
Title: Better behavior around missing crypto dependencies.

Previously, if no crypto library was available, two top-level bindings in
oauth2client.client would never be created. This creates an awkward situation
for callers (who may now have `AttributeError` arising in unexpected places).

This fixes the issue by always creating the top-level bindings, and simply
raising an exception at runtime if no crypto library is available.

Note that we keep HAS_CRYPTO and HAS_OPENSSL. These values are part of the
public interface for this module, and apparently are used as such (cf
https://groups.google.com/forum/#!msg/google-api-python-client/aVU-fgTpXsc/JxS5vRtXWd8J).