git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4cc2a
)
s4:pygensec/tests: check that the client and server have the same session key
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Jan 2012 19:49:08 +0000
(20:49 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Jan 2012 19:55:05 +0000
(20:55 +0100)
metze
source4/scripting/python/samba/tests/gensec.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/tests/gensec.py
b/source4/scripting/python/samba/tests/gensec.py
index 53e2292311499735aaba911373cdcd84b8f90c02..ab38d185056a580079ad5a3e6b6ff6a0f6f40178 100644
(file)
--- a/
source4/scripting/python/samba/tests/gensec.py
+++ b/
source4/scripting/python/samba/tests/gensec.py
@@
-88,4
+88,7
@@
class GensecTests(samba.tests.TestCase):
test_wrapped = self.gensec_server.wrap(test_string)
test_unwrapped = self.gensec_client.unwrap(test_wrapped)
self.assertEqual(test_string, test_unwrapped)
-
+
+ client_session_key = self.gensec_client.session_key()
+ server_session_key = self.gensec_server.session_key()
+ self.assertEqual(client_session_key, server_session_key)