summaryrefslogtreecommitdiff
path: root/examples/custom_stanzas
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-08-16 22:37:29 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-01 02:47:15 +0200
commit882f984b2622a6e44cce5401b8673760f559f718 (patch)
treee5193703478d41027e074359b47d6835c993000d /examples/custom_stanzas
parent6175cbcd99f917b08646d130770a132458056249 (diff)
downloadslixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.gz
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.bz2
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.xz
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.zip
Remove (usually) useless comments in examples about OpenFire and how to verify a certificate.
Diffstat (limited to 'examples/custom_stanzas')
-rwxr-xr-xexamples/custom_stanzas/custom_stanza_provider.py7
-rwxr-xr-xexamples/custom_stanzas/custom_stanza_user.py7
2 files changed, 0 insertions, 14 deletions
diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py
index cfc8335d..fc04bdd4 100755
--- a/examples/custom_stanzas/custom_stanza_provider.py
+++ b/examples/custom_stanzas/custom_stanza_provider.py
@@ -135,13 +135,6 @@ if __name__ == '__main__':
xmpp.register_plugin('xep_0050') # Adhoc Commands
xmpp.register_plugin('xep_0199', {'keepalive': True, 'frequency':15})
- # If you are working with an OpenFire server, you may need
- # to adjust the SSL version used:
- # xmpp.ssl_version = ssl.PROTOCOL_SSLv3
-
- # If you want to verify the SSL certificates offered by a server:
- # xmpp.ca_certs = "path/to/ca/cert"
-
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
xmpp.process()
diff --git a/examples/custom_stanzas/custom_stanza_user.py b/examples/custom_stanzas/custom_stanza_user.py
index 891eb72b..95837106 100755
--- a/examples/custom_stanzas/custom_stanza_user.py
+++ b/examples/custom_stanzas/custom_stanza_user.py
@@ -142,13 +142,6 @@ if __name__ == '__main__':
xmpp.register_plugin('xep_0004') # Data Forms
xmpp.register_plugin('xep_0050') # Adhoc Commands
- # If you are working with an OpenFire server, you may need
- # to adjust the SSL version used:
- # xmpp.ssl_version = ssl.PROTOCOL_SSLv3
-
- # If you want to verify the SSL certificates offered by a server:
- # xmpp.ca_certs = "path/to/ca/cert"
-
# Connect to the XMPP server and start processing XMPP stanzas.
xmpp.connect()
xmpp.process()