##// END OF EJS Templates
sslutil: don't access message attribute in exception (issue5285)...
Gregory Szorc -
r29460:a7d1532b stable
parent child Browse files
Show More
@@ -236,7 +236,7 b' def _verifycert(cert, hostname):'
236 if _dnsnamematch(value, hostname):
236 if _dnsnamematch(value, hostname):
237 return
237 return
238 except wildcarderror as e:
238 except wildcarderror as e:
239 return e.message
239 return e.args[0]
240
240
241 dnsnames.append(value)
241 dnsnames.append(value)
242
242
@@ -257,7 +257,7 b' def _verifycert(cert, hostname):'
257 if _dnsnamematch(value, hostname):
257 if _dnsnamematch(value, hostname):
258 return
258 return
259 except wildcarderror as e:
259 except wildcarderror as e:
260 return e.message
260 return e.args[0]
261
261
262 dnsnames.append(value)
262 dnsnames.append(value)
263
263
General Comments 0
You need to be logged in to leave comments. Login now