aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathoc.py')
-rw-r--r--libpathod/pathoc.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py
index 9c021360..c42cc82a 100644
--- a/libpathod/pathoc.py
+++ b/libpathod/pathoc.py
@@ -30,13 +30,8 @@ class SSLInfo:
self.certchain, self.cipher, self.alp = certchain, cipher, alp
def __str__(self):
- if self.alp:
- alp = self.alp
- else:
- alp = '<no protocol negotiated>'
-
parts = [
- "Application Layer Protocol: %s" % alp,
+ "Application Layer Protocol: %s" % self.alp,
"Cipher: %s, %s bit, %s" % self.cipher,
"SSL certificate chain:"
]