summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-09-30 17:14:45 -0700
committerLance Stout <lancestout@gmail.com>2012-09-30 17:14:45 -0700
commit94488fa2ea4dac7ff6fce20621d2e80e700f6299 (patch)
tree224f973cfa43e35936a9a019adf6fed3afbf8f1b /sleekxmpp/xmlstream
parentee9c4abd08db06fd6dc808d48c43cd6d57bd1aa1 (diff)
downloadslixmpp-94488fa2ea4dac7ff6fce20621d2e80e700f6299.tar.gz
slixmpp-94488fa2ea4dac7ff6fce20621d2e80e700f6299.tar.bz2
slixmpp-94488fa2ea4dac7ff6fce20621d2e80e700f6299.tar.xz
slixmpp-94488fa2ea4dac7ff6fce20621d2e80e700f6299.zip
Expand warning for missing ASN1 parser to include pyasn1_modules
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/cert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/cert.py b/sleekxmpp/xmlstream/cert.py
index 6e877efc..fa12f794 100644
--- a/sleekxmpp/xmlstream/cert.py
+++ b/sleekxmpp/xmlstream/cert.py
@@ -94,7 +94,7 @@ def extract_names(raw_cert):
def extract_dates(raw_cert):
if not HAVE_PYASN1:
- log.warning("Could not find pyasn1 module. " + \
+ log.warning("Could not find pyasn1 and pyasn1_modules. " + \
"SSL certificate expiration COULD NOT BE VERIFIED.")
return None, None
@@ -130,7 +130,7 @@ def get_ttl(raw_cert):
def verify(expected, raw_cert):
if not HAVE_PYASN1:
- log.warning("Could not find pyasn1 module. " + \
+ log.warning("Could not find pyasn1 and pyasn1_modules. " + \
"SSL certificate COULD NOT BE VERIFIED.")
return