summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream/cert.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/xmlstream/cert.py')
-rw-r--r--slixmpp/xmlstream/cert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/cert.py b/slixmpp/xmlstream/cert.py
index d357b326..28ef585a 100644
--- a/slixmpp/xmlstream/cert.py
+++ b/slixmpp/xmlstream/cert.py
@@ -76,7 +76,7 @@ def extract_names(raw_cert):
name_type = name.getName()
if name_type == 'dNSName':
results['DNS'].add(decode_str(name.getComponent()))
- if name_type == 'uniformResourceIdentifier':
+ elif name_type == 'uniformResourceIdentifier':
value = decode_str(name.getComponent())
if value.startswith('xmpp:'):
results['URI'].add(value[5:])