##// 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 236 if _dnsnamematch(value, hostname):
237 237 return
238 238 except wildcarderror as e:
239 return e.message
239 return e.args[0]
240 240
241 241 dnsnames.append(value)
242 242
@@ -257,7 +257,7 b' def _verifycert(cert, hostname):'
257 257 if _dnsnamematch(value, hostname):
258 258 return
259 259 except wildcarderror as e:
260 return e.message
260 return e.args[0]
261 261
262 262 dnsnames.append(value)
263 263
General Comments 0
You need to be logged in to leave comments. Login now