aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r--tests/hazmat/primitives/test_ec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py
index 5c3da5b6..d015e84d 100644
--- a/tests/hazmat/primitives/test_ec.py
+++ b/tests/hazmat/primitives/test_ec.py
@@ -1080,6 +1080,8 @@ class TestECDH(object):
# At this point fail indicates that one of the underlying keys was
# changed. This results in a non-matching derived key.
if vector['fail']:
+ # Errno 8 indicates Z should be changed.
+ assert vector['errno'] == 8
assert z != vector['Z']
else:
assert z == vector['Z']