mirror of
https://github.com/openkmip/pykmip
synced 2025-12-12 14:23:14 +00:00
Merge pull request #362 from OpenKMIP/bug/fix-shared-ciphers
Fixing bug with session logging shared ciphers
This commit is contained in:
@@ -158,6 +158,7 @@ class KmipSession(threading.Thread):
|
|||||||
max_size = self._max_response_size
|
max_size = self._max_response_size
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
if hasattr(self._connection, 'shared_ciphers'):
|
||||||
shared_ciphers = self._connection.shared_ciphers()
|
shared_ciphers = self._connection.shared_ciphers()
|
||||||
self._logger.debug(
|
self._logger.debug(
|
||||||
"Possible session ciphers: {0}".format(len(shared_ciphers))
|
"Possible session ciphers: {0}".format(len(shared_ciphers))
|
||||||
|
|||||||
Reference in New Issue
Block a user