Skip to content

Commit

Permalink
Use SSLv23 for ifmap clients. SSLv3 is no longer supported.
Browse files Browse the repository at this point in the history
Change-Id: Ia54d4b4fbacb06717dee62a561bfbed8224a9b90
Closes-Bug: 1414790
(cherry picked from commit 244403e)
  • Loading branch information
Sachin Bansal committed Feb 4, 2015
1 parent a659cdb commit c184e5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ifmap-python-async.patch
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

except HttpException, e:
+ log.error("HTTP Connection error in IF-MAP client: %s", e.reason)
+ except:
+ log.error("Uknown error sending IF-MAP message to server")
+ except Exception as e:
+ log.error("Uknown error sending IF-MAP message to server %s", str(e))
+ raise
+
+ def call_async_result(self, method, body):
Expand Down
4 changes: 2 additions & 2 deletions ifmap-python-patch1.diff
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ index c0f748c..103caa6 100644
IF-MAP client
"""
- http = Http()
+ #http = Http()
+
__url = None
__session_id = None
Expand All @@ -57,7 +56,8 @@ index c0f748c..103caa6 100644
__namespaces = None
+ __ssl_options = {
+ 'cert_reqs' : gevent.ssl.CERT_NONE,
+ 'ssl_version' : PROTOCOL_SSLv3
+ 'ssl_version' : PROTOCOL_SSLv23,
+ 'ciphers' : "RC4-SHA"
+ }

__envelope ="""<?xml version="1.0" encoding="UTF-8"?>
Expand Down

0 comments on commit c184e5d

Please sign in to comment.