freebsd-ports/net-im/gajim/files/patch-src-common_connection.py
Ruslan Makhmatkhanov ee01891805 - add upstream patch to fix connection to servers w/o StartTLS support (r14476)
- remove conflicts with no more existing gajim-devel, while here
- bump PORTREVISION

Reported by:	arrowdodger <6yearold@gmail.com> (by email)
2013-05-01 15:19:41 +00:00

11 lines
538 B
Python

--- src/common/connection.py.orig 2013-03-17 21:55:32.000000000 +0400
+++ src/common/connection.py 2013-05-01 18:47:51.000000000 +0400
@@ -1331,7 +1331,7 @@
certificate=con.Connection.ssl_certificate[i]))
return True
i += 1
- if hasattr(con.Connection, 'ssl_fingerprint_sha1'):
+ if con.Connection.ssl_fingerprint_sha1:
saved_fingerprint = gajim.config.get_per('accounts', self.name,
'ssl_fingerprint_sha1')
if saved_fingerprint: